06-30-2009 3:52 AM
Hi All,
Does anybody know the function model to find the spec. char and skip it?
Regards,
Luke
06-30-2009 3:57 AM
06-30-2009 3:57 AM
06-30-2009 4:12 AM
Hi,
You can use 'Contains Only' CO to check if it contains any special characters...
06-30-2009 4:28 AM
Hi,
You can try this code:
IF NOT so_name[] IS INITIAL.
LOOP AT so_name.
lv_len = strlen( so_name-low ).
CLEAR lv_pos.
WHILE lv_pos LT lv_len.
lv_c = so_name-low+lv_pos(c_no).
lv_pos = lv_pos + 1.
IF c_wild CA lv_c. <------- constants: c_wild(32) TYPE c VALUE '*`~!@#$%^&()-_+=|\}{][;:,<>./?'''.
" Do what you want
REFRESH so_name.
CLEAR so_name.
EXIT.
ENDIF.
ENDWHILE.
ENDLOOP.
ENDIF.
Hope this will help you..