home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!munnari.oz.au!uniwa!DIALix!acix!johnv
- From: johnv@acix.DIALix.oz.au (John Verhoeven)
- Subject: Re: Lower-case alphabetic set
- Newsgroups: comp.lang.rexx
- References: <1993Jan4.022708.2922@ftpbox.mot.com>
- X-Newsreader: TIN [version 1.1 PL8]
- Message-ID: <johnv.040n@acix.DIALix.oz.au>
- Date: 4 Jan 93 21:25:16 WST
- Organization: ACix - Private UUCP Node, Cloverdale, Western Australia.
- Lines: 17
-
- David McAnally (acus02@ems13.corp.mot.com) wrote:
- > In article <REXXLIST%93010320580660@OHSTVMA.ACS.OHIO-STATE.EDU> writes:
- > > I found that, there's a function to translate all words to upper case
- > > but I could'nt find in HELP REXX to form the words from upper case to
- > > lower case by using a function. Could anyone help me to solve this
- > > problem?
-
- > /* lower case REXX function (opposite of UPPER function) */
- > parse arg instring
- > return
- > TRANSLATE(instring,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- > )
-
- Or slightly shorter...
-
- TRANSLATE(instring,XRANGE('a','z'),XRANGE('A','Z'))
-
-