How would I receieve just one of the numbers as a value, like if I wanted to get the middle one (231)?
This string can change though so it could read "9:15:27" or anything...
I know how to convert the string to a number, but I need a way of extracting the correct part of the string that I want... where each number is separated by a ":"
Edited by the Author.
n/a ...
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
15th November, 2008 at 01:54:26 -
Use String Parser 2.
Start of frame, add a delimeter ":"
Then if you want to get the middle number, set a counter to listGetAt$( "String Parser", 2), where "2" = the "element number".
For example:
listGetAt$( "String Parser", 1) will return "15"
listGetAt$( "String Parser", 2) will return "231"
listGetAt$( "String Parser", 3) will return "08"