Skip to Content
avatar image
Former Member

need help in CA

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 22, 2007 at 12: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>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 12:28 PM

    Hi,

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

    Regards,

    Sai

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 12:31 PM

    Hi Ravi,

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

    Regards,

    Sai

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 12: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 22, 2007 at 12:37 PM

    .

    Add comment
    10|10000 characters needed characters exceeded