I have a string that is passed to my server app from my client app. The string is like this:
1123
It is a max of four numbers. The first number I am using to tell the server app what com port to use. If the first number is 1, then I'll use com port 1 etc.
The last three numbers are the TV channel.
If I want channel 007, on com port 2, then the string will be "27".
How can I chop off the first digit and then keep the last part of the string intact?
Thanks.
Mindy
1123
It is a max of four numbers. The first number I am using to tell the server app what com port to use. If the first number is 1, then I'll use com port 1 etc.
The last three numbers are the TV channel.
If I want channel 007, on com port 2, then the string will be "27".
How can I chop off the first digit and then keep the last part of the string intact?
Thanks.
Mindy