string newstring = str.Substring(str.IndexOf(">"));
int length = 1; string newstring = str.Substring(str.IndexOf(">"), length);
string str = "qwertyuiop@345*7%6&n>ABCD"; string pattern = ".*>(?<result>.*)"; Regex regex = new Regex(pattern); Match match = regex.Match(str); if (match.Success) { string result = match.Groups["RESULT"].Value; }
string str = "qwertyuiop@345*7%6&n>ABCD"; str = str.Substring(str.LastIndexOf(">")+1);
indexof
substring
string str = "qwertyuiop@345*7%6&n>ABCD"; string Result = str.Substring((str.IndexOf(">"))+1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)