TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Noon
from: John Poltorak
date: 1995-02-27 09:45:50
subject: Ignoring case

Hello David!

Wednesday February 22 1995, David Noon writes to John Poltorak:

 JP>> I asked this in OS2REXX but everyone there seems to have gone
 JP>> home...
 JP>>
 JP>> Is there a way to ignore case when comparing variables?
 JP>> (without parse upper..)

 DN> Try:
 DN>       IF TRANSLATE(String_1) == TRANSLATE(String_2) THEN

This doesn't actually ignore case, but converts everything to upper case. I
thought that the '==' operator might do this, but apparently not.

 DN> BTW, some of us are trying to revitalise the OS2REXX echo. We hope to
 DN> get it onto the Fido backbone, so the number of messages will
 DN> increase.
 DN> At present, I am answering any such posts as this one (as I can) in the
 DN> OS2REXX echo.

Did you see this msg from me in the OS2REXX echo in the last few weeks - if
not my links may not be correctly set up...

John

--- GoldED/2 2.50.Beta4+
* Origin: (2:250/313)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 250/313 440/4 141/209 270/101 396/1 3615/50 229/2 12/2442 711/409 808
@PATH: 711/809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.