home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!gatech!destroyer!ncar!noao!stsci!kimball
- From: kimball@stsci.edu (Timothy Kimball)
- Subject: Re: String function names
- Message-ID: <1993Jan4.144317.28078@stsci.edu>
- Sender: news@stsci.edu
- Organization: Space Telescope Science Institute
- X-Newsreader: TIN [version 1.1 PL6]
- References: <1i0fcaINNgqd@msuinfo.cl.msu.edu>
- Date: Mon, 4 Jan 1993 14:43:17 GMT
- Lines: 13
-
- Jerome M Learman (learman@cps.msu.edu) wrote:
- : Does anyone know of a string function that converts all letter in the string to
- : lower case letter or all capital letter. I could parse the string char by char
- : and use a case statment but I really don't want to do this
- :
- : ---
-
- Go ahead and parse char by char, but instead of a case statement,
- use the standard library functions tolower() and toupper().
- They return the lower (or upper) case version of their argument,
- and their names are obvious. :^)
-
- tdk
-