‎2007 Oct 15 11:09 AM
Hi,
Is there any function module to delete all the alphabets & special characters from the string? (to keep only numberic)
‎2007 Oct 15 11:19 AM
Hi karthik,
I didn't find any function module .
But your requirement can be satisfied without the need of any function module.
Look at the following Example:
<b>
data:
char(10) type c value 'a1b2c3d4e5',
numc1(10) type n,
numc2(5) type n.
numc1 = char.
numc2 = char.
write /: numc1,
numc2.
</b>
Here in numc1,numc2 you will get numerics only.
Hope this helps you.
‎2007 Oct 15 12:01 PM
yes,
use fm PREPARE_STRING
search for that fm and my examples in this forum
A.