You can use the below code :
string new_code = textBox1.Text;Suppose you are using this piece of code on click event of the button. Now try to enter data in textbox with slash (/) and after that click on button. You will see the result will be the text after the slash..
string str = new_code.Substring(new_code.IndexOf("/"));
label1.Text = str;
Keep Coding and stay in touch with StepCoder.com.