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

need help in CA

Former Member
0 Likes
945

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
Read only

Former Member
0 Likes
882

Hi,

Check the below,

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

string CA '012....9' or

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

.....

Endif.

<b>Reward if helpful.</b>

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
Read only

Former Member
0 Likes
883

Hi,

Check the below,

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

string CA '012....9' or

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

.....

Endif.

<b>Reward if helpful.</b>

Read only

Former Member
0 Likes
882

Hi,

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

Regards,

Sai

Read only

Former Member
0 Likes
882

Hi Ravi,

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

Regards,

Sai

Read only

Former Member
0 Likes
882

Hi Ravi

if string CA SY-ABCDE

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

reward points to all helpful answers

kiran.M

Read only

Former Member
0 Likes
882

.