home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.rexx
- Path: sparky!uunet!panther!mothost!schbbs!waccvm.corp.mot.com!TCSAR03
- From: TCSAR03@waccvm.corp.mot.com (Germain Leutwyler)
- Subject: Re: Lower-case alphabetic set
- Organization: Motorola
- Date: 5 Jan 1993 07:59:12 MST
- Message-ID: <1993Jan5.064658.4491@schbbs.mot.com>
- Sender: news@schbbs.mot.com (Net News)
- Nntp-Posting-Host: waccvm.corp.mot.com
- Lines: 16
-
- Hi,
-
- Here is another routine to translate each letter from uppercase to
- lowercase. You may specify the characters that shouldn'tbe converted
- in the verify function.
-
- Best regards,
- Germain Leutwyler
-
- /* TRANSLATION OF CERTAIN CHARACTERS WITHIN STRING "ST" TO LOWERCASE */
- ST=''
- do P=1 to length(ST)
- C=substr(ST,P,1)
- if verify(C,'?!0123456789')/=0 then C=bitxor(C,' ')
- ST=ST||C
- end
-