string, IEnumerable, only digits

string x = "9k6hg4r989";
string y = new string(x.TakeWhile(char.IsDigit).ToArray());

Comments

Popular posts from this blog

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem

Asp.Net Ending Response options, Response.End() vs CompleteRequest()