what I'm doing is reading xml lines from the web, and then try to get values from them.
so I'd want to read the string and get back the number 5.
string replace seemed the easiest way. I could just remove the first and last part of the string and be left with only the number 5.
@yenthefirst I completely appreciate your example I think I'm just not comfortable enough in arduino yet to fully understand it.
I'm coming from a php/actionscript background.