Hi Authorking,
You use String.Substring(startp osition, number of characters to read)
or any of the overloads
Some samples:
string s = "Hello World";
string s1 = s.Substring(0, 5); // s1 == "Hello"
string s2 = s.Substring(6, 5); // s2 == "World"
string s3 = s.Substring(6); // == "World"
string s4 = s.Substring(s1.Length + " ".Length, s.Length - (s1.Length + " ".Length)); // == "World"
int startchar = 3;
int endchar = 7;
string s5 = s.Substring(startchar, endchar - startchar); // == "lo W"
You may need to adjust the position values if you consider the first character to be 1 or want to include character 7.