StrOps::Lower( StrBuf & )
Convert each character in a string (in place) to lowercase
Virtual? |
No |
|
Class |
||
Arguments |
|
the string to convert to lowercase |
Returns |
|
Notes
This function modifies an original string in place by converting all uppercase characters to lowercase.
Example
Copy
StrBuf o = StrBuf();
o.Set( "xYzZy" );
printf( "Before: %s\n", o );
StrOps::Lower( o );
printf( "After: %s\n", o );
return 0;
Executing the preceding code produces the following output:
% a.out Before: xYzZy After: xyzzy