www.digitalmars.com         C & C++   DMDScript  

c++ - string functions

Hi all,
I'm new to this group so would like to introduce myself.
Still grappling with C++. Trying out every possible string asscotiated commands
at the moment but I've come to a problem.
How can I extract a decimal or hex value from a string containing letters?
The only fucntions I can find are ones like stoi which only work with string
numbers and ignore letters.  Please help!
Peter.
Dec 01 2002