10-13-2008 4:51 PM
Hello All,
I have a string that I need to parse depending of what digits do it contains. My question is: are there any FM that determines if a character is a digit or not?
Thank you,
Diana
10-13-2008 5:04 PM
IF char CO '0123456789'
==> digit
ELSE.
==> something else
ENDIF.
10-13-2008 4:54 PM
10-13-2008 4:58 PM
use the below function module.
CALL FUNCTION 'NUMERIC_CHECK'
EXPORTING
string_in =
IMPORTING
htype = .
10-13-2008 5:04 PM
IF char CO '0123456789'
==> digit
ELSE.
==> something else
ENDIF.