R
Raj
Hi
I was hoping someone could suggest a simple way of stripping non-numeric
data from a string of numbers.
For example, if I have "ADB12458789\n"
I would like to remove the letters and the newline from this string.
I am new to C so am sure this is simple ut I don't know how to do it! Sorry!
Do you have to tokenise the string?
Thanks for any help anyone can give.
Regards,
--
Raj Kothary :: one|concept
http://www.oneconcept.net
(e-mail address removed)
+ 44 (0)79 5647 2746
oneconcept limited :: 17 York Avenue, Stanmore, Middlesex HA7 2HT
Confidentiality notice:
The information transmitted in this email and/or any attached document(s) is
confidential and intended only for the person or entity to which it is
addressed and may contain privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from any computer.
I was hoping someone could suggest a simple way of stripping non-numeric
data from a string of numbers.
For example, if I have "ADB12458789\n"
I would like to remove the letters and the newline from this string.
I am new to C so am sure this is simple ut I don't know how to do it! Sorry!
Do you have to tokenise the string?
Thanks for any help anyone can give.
Regards,
--
Raj Kothary :: one|concept
http://www.oneconcept.net
(e-mail address removed)
+ 44 (0)79 5647 2746
oneconcept limited :: 17 York Avenue, Stanmore, Middlesex HA7 2HT
Confidentiality notice:
The information transmitted in this email and/or any attached document(s) is
confidential and intended only for the person or entity to which it is
addressed and may contain privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from any computer.