The first pram is the starting index (0 being the first character). If you omit the second pram then the rest of the string is used. So if the string is "012345" then TextBox1.Text.Substring(1) will return "12345".
The second pram is the length of what you want. In this case the second part Substring(0,1) is getting the first character. It will move the first character to the end of the string.
I'm not good at explaining but I hope you understand what I am trying to say.
If you want something cool, do this to the title bar and look at the task bar. You can do this to show what is happening in your program even it the application is not showing.
The first pram is the starting index (0 being the first character). If you omit the second pram then the rest of the string is used. So if the string is "012345" then TextBox1.Text.Substring(1) will return "12345".
The second pram is the length of what you want. In this case the second part Substring(0,1) is getting the first character. It will move the first character to the end of the string.
I'm not good at explaining but I hope you understand what I am trying to say.
If you want something cool, do this to the title bar and look at the task bar. You can do this to show what is happening in your program even it the application is not showing.
The first pram is the starting index (0 being the first character). If you omit the second pram then the rest of the string is used. So if the string is "012345" then TextBox1.Text.Substring(1) will return "12345".
The second pram is the length of what you want. In this case the second part Substring(0,1) is getting the first character. It will move the first character to the end of the string.
I'm not good at explaining but I hope you understand what I am trying to say.
If you want something cool, do this to the title bar and look at the task bar. You can do this to show what is happening in your program even it the application is not showing.