2007 Jun 08 7:03 AM
Hi,
I need a progarm on string comparision.
>if the string are not identical we need to count the number of alphabets which are same in both the strings
>we need to write the alphabet with its respective count number
Hi,
you can use any of the string operations like
CA contains any
CO contains only
CS contains string
CP contain pattern
and after that use SY-FDPOS system field. it will return you the position number.
regards,
Ruchika
reward if useful.
2007 Jun 08 7:06 AM
Hi Suneetha,
The program description given is not clear anyways, you can use CA which is acronymed for Contains Any. The usage would be as such.
If string1 ca given_string.
do this.
Reward Points if useful.
Thanks,
Tej..
2007 Jun 08 7:09 AM
Hi,
you can use any of the string operations like
CA contains any
CO contains only
CS contains string
CP contain pattern
and after that use SY-FDPOS system field. it will return you the position number.
regards,
Ruchika
reward if useful.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |