Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2026.1

# StrOps::Lower( StrBuf & )

Convert each character in a string (in place) to lowercase

Virtual? | No |
Class | `StrOps` |
Arguments | `StrBuf &o` | the string to convert to lowercase
Returns | `void` |

## 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

Your search for returned results