camel_case
Converts s to camelCase.
Words are split on any non-alphanumeric character and on case boundaries; an embedded run
of capitals is an acronym, so only its last letter starts the next word (userID becomes
userId).
Import
Section titled “Import”Cargo feature string (enabled by default). To compile only this module:
or in Cargo.toml:
Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
s | &str | The text to convert. |
Returns
Section titled “Returns”String
