TutStrLwr convert a string to lowercase
dest
converted string
src
original (source) string
Pointer to the converted string.
None
TutStrLwr converts a character string from uppercase to lowercase. It takes two character pointers as arguments. The first pointer points to the pre-allocated array that should be large enough to hold the converted string. The second pointer points to the string to be converted to lowercase.
Always ensure that an array has been allocated and is large enough to hold the converted string, before calling TutStrLwr.
This example converts a string to lowercase:
T_CHAR strptr[80]; strcpy(strptr, "ThiS Is A MixeD CasE StrinG"); TutStrLwr(strptr, strptr); TutOut("%s\n", strptr); . . .
The TutOut statement produces this output:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |