Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

String comparision

Former Member
0 Likes
438

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

2 REPLIES 2
Read only

Former Member
0 Likes
422

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..

Read only

Former Member
0 Likes
422

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.