Page 1 of 1

Received Data manipulation

Posted: Thu Dec 21, 2006 2:39 am
by oferpeleg
Hey Everyone,

Can some one tell me how can I compare just a specific part of an incoming ASCI string,

The received string is : Z00099000000000H
And I want to check only the first 5 characters for example,
I know that I can do it with a script but I got to know if it can be done internally.

Posted: Thu Dec 21, 2006 8:56 am
by ScottBot
There's no way to do it internally, so you will have to do it in a script.

Posted: Thu Dec 21, 2006 12:55 pm
by Richard Naninck
And for what it's worth... in a script:

Data = YourString 'Z00099000000000H
Select Case Left(Data, 5)
Case "Z0009": Do This
Case "Z0010": Do That
End Select