string, IEnumerable, only digits

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

Comments

Popular posts from this blog

CPanel - WHM - change sending email via server to email Relay (email supplier SMTP) (mailgun)

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

JS Link Tutorial, Sharepoint 2013