I’m quite new to c#, however I have experience with other languages including C/C++, Java and others. I am trying to convert a string in c# that has additional ascii to an integer, eg.
string text = "123abc";
What I want to do is extract the 123 from the above and put it into an integer without generating an exception.