Hi,
Its been some time since I used PBP on a serious project, and I'm afraid I've gone a bit rusty.
I get a string of 9 characters (numerals only) from a device; the 1st character is always an '8'.
How would I split up the remaining 8 characters as 4 nos of 1,1,3 and 3 digits respectively?
I am using debug to read the incoming string. I suspect the first character, a constant "8", can be used as a qualifier.
What would the syntax for the debugin line be?
And then, suppose I receive a string ""812345678", how would I assign values to variables a,b,c,d such that a=1, b=2, c=345 and d=678?
Thanks for the help, guys!
Bookmarks