on 10-16-2008 3:21 PM
Hi ,
For example :
string S1 = ' 8 000 000 '.
I want to remove the spaces from the string to get the output of the string as : 8000000.
Please help me in this
Kiran,
Use
CONDENSE s1 NO-GAPS.
Regards
RR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
You can try something like this:
DATA S1 TYPE string VALUE '8 000 000'.
REPLACE ALL OCCURRENCES OF REGEX '[ ]+' IN S1 WITH ``.
Kind regards,
Bruno
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.