I have a large string and its stored in a string variable str. And i want to get a substring from that in c#? Suppose the string is : \" Retrieves a substring from thi
\" Retrieves a substring from thi
string newString = str.Substring(0,10)
will give you the first 10 characters (from position 0 to position 9).
See here.