string s =textbox.text; string[] words = s.Split('/'); MessageBox.Show(words[1]);
string str = TextBox1.Text; str = str.Substring(str.LastIndexOf("/") + 1, str.Length - Convert.ToInt32(str.LastIndexOf("/") + 1)); MessageBox.Show(str);
string str = "Code/10023"; string[] StrIn = str.Split('/'); Response.Write("First String: "+StrIn[0].ToString() + "</br>"); Response.Write("Second String: "+StrIn[1].ToString() + "</br>"); Response.Write("No of Letters: "+StrIn[1].Length);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)