Convert the string to snake_case. Splits on whitespace, hyphens, and camelCase boundaries.
Example:
assert (Strings.toSnakeCase ("helloWorld") == "hello_world");
assert (Strings.toSnakeCase ("Hello World") == "hello_world");
| s |
the string. |
|
snake_case string. |