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: 

need help in CA

Former Member
0 Kudos
127

Hi Guys,

I want to check if an string contains any patter bw a-z and 1-9 and some special characters . how can write the code..

i have tried it but this is not working for number and special characters its just skipng the number n specail characters and only looking for alphabets how can use this to chek for alpabets,numbers and some special characters all together.

pls help point wil be rewarded

ravi

1 ACCEPTED SOLUTION

Former Member
0 Kudos
64

Hi,

Check the below,

If string CA 'ABCD......Z' or

string CA '012....9' or

string CA '!@#$......-' or

.....

Endif.

<b>Reward if helpful.</b>

5 REPLIES 5

Former Member
0 Kudos
65

Hi,

Check the below,

If string CA 'ABCD......Z' or

string CA '012....9' or

string CA '!@#$......-' or

.....

Endif.

<b>Reward if helpful.</b>

Former Member
0 Kudos
64

Hi,

Try Check the Pattern try with CP or CS it will work.

Regards,

Sai

Former Member
0 Kudos
64

Hi Ravi,

Sorry CS and CP will not work in your Case. Go with what sankar has written.

Regards,

Sai

Former Member
0 Kudos
64

Hi Ravi

if string CA SY-ABCDE

OR IF STRING CA '1,2,3..9'.

reward points to all helpful answers

kiran.M

Former Member
0 Kudos
64

.