Hi,
I have a following strings
strA = " 1 my first work out".
strB = "2 my second work out"
strC = " My last work out"
My strA and strB first char is int and strB first char is " ". I want to
check if in a string first char returns int (1, 2 or ---) then do this
otherwise do that.
How can I know that the first char of string is returing an int or not.
Thanks
I have a following strings
strA = " 1 my first work out".
strB = "2 my second work out"
strC = " My last work out"
My strA and strB first char is int and strB first char is " ". I want to
check if in a string first char returns int (1, 2 or ---) then do this
otherwise do that.
How can I know that the first char of string is returing an int or not.
Thanks
Comment