Guys I need some help. String token of a wired message
posted 11 years ago
well this is my code.
let me explain a lil. The program is actually a daemon. It works fine. In the body run, that's the thingy which did string token. It works fine. But i am creating something that will split (1a) into 2 piece, and another will spilt the other piece.
The senario, the daemon will receive a string, like "*abcde,1,2,3,hello%" where * = STX (ASCII 02) and % ETX (ASCII 03) the first loop will eliminate the STX, then seggregate the text to a loop, for example a=abcde, b=1, c=3, d=hello%.
*what i managed to do is only string token the normal characters, not the ASCII characters
then the final loop will grab strtoken the % char.
i have been trying tht for 1 whole days.. n e ideas guys ?
thanks in advance.
[removed e-mail, let's keep the conversation in the forum - Joe] [ April 28, 2005: Message edited by: Joe Ess ]