2007 Mar 21 5:01 AM
Hi,
I have a requirement in a case where i have to replac the ' ,' with space.
There is a standard FM for that can any one help me.
eg:
70,000,00 it should come as 70 000 00.
thanking in advance.
sampath
Hi,
I have a requirement in a case where i have to replac the ' ,' with space.
There is a standard FM for that can any one help me.
eg:
70,000,00 it should come as 70 000 00.
thanking in advance.
sampath
2007 Mar 21 5:02 AM
Hi Sampath,
Use replace command,
Replace ',' with ' ' in str.
regards,
keerthi.
2007 Mar 21 5:05 AM
Hi Sampath,
Yes, I am agreeing with keerthi. It can possible by using Replace command.
Try that it will solve.
Hope this helps you. Reply for queries
Regards,
kumar.
2007 Mar 21 5:07 AM
Hi Sampath,
There is no such function module available for this type of replacements.
For this you can use REPLACE syntax.
REPLACE ',' WITH '.' IN W_STR.
Regards,
Kunjal
2007 Mar 21 5:14 AM
Hi Sampath,
Check this FM : STRING_REPLACE
Parameters :
pattern = ' , '
substitute = ' ' " space
text = ' 70,000,00 '
-Satya
2007 Mar 21 5:50 AM
Hi Sampath,
This F.M will work for u ,
<b>"SSM_REPLACE_CHAR_BY_SPACE"</b>
parameters:
INPUT_STRING = ' 70,00,000'
CHAR = ,
output will be '70 00 000'
null
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |