Hi jazzplayermark. I want to be able to parse a text string. The sting has data fields containing numbers or text and may have one of the following formats
"%s %d"
"%s %s"
I am using the Crimson Find() functions to find the location of the space character and then splitting the string into two substrings
index = Find(message,32,0); // find position of space
tok1 = Left(message, index);
tok2 = Right(message, Len(message)-index-1);
I'd like to use TextToInt to convert tok2 to an Int if it is an Int but need to test first whether it is a number or a string
Any suggestions would be appreciated