‎2008 May 23 4:37 AM
hi all
how to find the spaces in the string when i use sy-fdpos its showing only the first space, but i want to know about all the spaces in the string how to doit in this string,
ONE HUNDRED TWENTY-THREE MILLION FOUR HUNDRED FIFTY-SIX THOUSAND SEVEN HUNDRED EIGHTY-NINE and TWELVE cents
thanks in advance
cheers
uday
‎2008 May 23 4:46 AM
You will have to do it in a loop.
Do loop will work..
split the string at space into part1 and part2. It will split at first space and then repeat the same procedure untill u get all space positions..
thnx,
ags..
‎2008 May 23 4:51 AM
Hi,
use FIND FIRST OCCURRENCE|ALL OCCURRENCES OF
Shruthi
Edited by: Shruthi R on May 23, 2008 5:55 AM
Edited by: Shruthi R on May 23, 2008 5:55 AM
Edited by: Shruthi R on May 23, 2008 5:56 AM
‎2008 May 23 5:00 AM
Hi,
Follow the steps to resolve your problem.
1.calculate the string length and store it in a variable(cnt).
2. (a) Use "DO" loop for cnt times.
(b) Check each letter whether it is in alphabets or not.
(c) If not increase the value of another count(to count the spaces).
Regards,
Chandu
‎2008 May 23 7:07 AM
when i search for say HUNDRED is showing but when i search for ' ' or space its not showing up how come?
cheers
uday
thanks u all for u r suggestions