Does this work for you?
string s = string.Concat( NameComp.TakeWhile( c => !char.IsDigit( c ) ) );string d = string.Concat( NameComp.Skip( s.Length ) );// orstring d = NameComp.Substring( s.Length );
No comments:
Post a Comment