08-22-2007 1:13 PM
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
08-22-2007 1:24 PM
Hi,
Check the below,
If string CA 'ABCD......Z' or
string CA '012....9' or
string CA '!@#$......-' or
.....
Endif.
<b>Reward if helpful.</b>
08-22-2007 1:24 PM
Hi,
Check the below,
If string CA 'ABCD......Z' or
string CA '012....9' or
string CA '!@#$......-' or
.....
Endif.
<b>Reward if helpful.</b>
08-22-2007 1:28 PM
Hi,
Try Check the Pattern try with CP or CS it will work.
Regards,
Sai
08-22-2007 1:31 PM
Hi Ravi,
Sorry CS and CP will not work in your Case. Go with what sankar has written.
Regards,
Sai
08-22-2007 1:32 PM
Hi Ravi
if string CA SY-ABCDE
OR IF STRING CA '1,2,3..9'.
reward points to all helpful answers
kiran.M
08-22-2007 1:37 PM