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

Operator for Not considering Case

Former Member
0 Likes
569

Hi all,

Can anybody tell me

Operator by which internally it not consider the case(Upper case or lower case)and accordingly fetch the data.

For ex if we enter Either

Ram or ram of Ram.

Consider all the same.

Best Regards,

Aastha

1 ACCEPTED SOLUTION
Read only

rainer_hbenthal
Active Contributor
0 Likes
553


orig_value = 'Ram'.
tmp_value = orig_value.
translate tmp_value to upper case.

case tmp_value.
  when 'RAM'.
    do_something.

  when 'ROM'.
    do_somehting_else.

  when others.
    do_error_handling.
endcase.
4 REPLIES 4
Read only

rainer_hbenthal
Active Contributor
0 Likes
554


orig_value = 'Ram'.
tmp_value = orig_value.
translate tmp_value to upper case.

case tmp_value.
  when 'RAM'.
    do_something.

  when 'ROM'.
    do_somehting_else.

  when others.
    do_error_handling.
endcase.
Read only

0 Likes
553

Hello Rainer,

Can u tell me the particular case insensitive function.

Best Regards,

Aastha

Read only

0 Likes
553

Hi, i really dont understand for what you are asking now...

Read only

0 Likes
553

Hello again Rainer,

I m asking that whether we enter in selection screen(for ex)

Ram or

RAM or

rAm or

all such possible combinations.

I m asking any logic, so that my report will consider all these combination same and fetch the records.

Best Regards,

Aastha