Skip to Content
0
Former Member
Mar 31, 2008 at 10:12 PM

ABAP code for character search

4261 Views

Hello Gurus

I have a variable e.g. lv_txtsh which is meant to store a string. Now I want to parse through lv_txtsh and find if it contains a character "x". The length of the string stored in lv_txtsh is going to be dynamic. Can you please help me to code this scenario in ABAP OO (the new version of ABAP)

Any help is appreciated and points will be assigned.

Thanks,

Rishi