find the match string position in c# asp.net
string position = "this is the text | finding the text";
int position = inputString.IndexOf("|");.
position return the matched position. if not matched then it return -1
cheers..
int position = inputString.IndexOf("|");.
position return the matched position. if not matched then it return -1
cheers..
Comments
Post a Comment