Application Development 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: 

Problem in reading first wild characters

former_member219850
Participant
0 Kudos

Hi Team,

How can I read first variable wild - character.

i.e. '!!!!!!Darshan!!!!!.'

I wish to read only first wild characters not last.

these wild characters are not fix. i.e. it may contain '!!darshan!!'.

Please guide me.

Thanks,

Darshan.

3 REPLIES 3

Former Member
0 Kudos

Darshan,

In the above example !!!!!!Darshan!!!!!, what do you mean by a wild character? Are you looking to find the 'D' or the first '!'?

Former Member
0 Kudos

Hi Darshan,

You could use regular expression, like this:

FIND FIRST OCCURRENCE OF REGEX `[a-zA-Z]`

      IN text OFFSET off.


text+off(1), then is what you wanted.


regards,

Archer

former_member185054
Active Participant
0 Kudos

Dear dhashan,

     please explain the above issue.do you wand to read wild-character or else alphanumeric character?

regards,

sampath kumar.