[Quote]
I wrote some code that tries to extract an integer 100 out of this string:

"AB,SH#100 \r\n\0"
[/quoute]

That's exactly what I want. Just try extracting it. Note to wyota: toInt() doesnt fail even if you have 100 spaces after SH#100