Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>strlwr() convert string to lower case</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 strlwr()                Convert String to Lower Case

 #include   <string.h>                   Required for declarations only

 char       *strlwr(string);
 char       *string;                     String to be converted

    strlwr() converts all uppercase letters in 'string' to lowercase.
    Other characters are not affected.

       Returns:     A pointer to 'string'.  There is no error return.

   -------------------------------- Example ---------------------------------

    This example converts all the uppercase letters in 'str' to
    lowercase.

           #include <string.h>

           char str1[128] = "Some UPPERS and some lowers";

           main()
           {
               strlwr(str1);
               printf("%s",str1);
           }


See Also: strupr()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson