PDA

View Full Version : string



volcane
- 20th October 2005, 21:34
hello!

how I can gain from one string received through rs 232 a precise part? example from tightens that arrives me atdt+3981123456789 would serve I alone 81123456789

Darrel Taylor
- 22nd October 2005, 20:12
If that's the ONLY string you want to receive you might do...

buffer VAR BYTE[12]

HSERIN [wait("atdt+3"),STR buffer\12]But, if you have more stings coming in at unspecified times, you'll probably need to receive the whole string in a buffer, and parse it manually.
<br>