kebab_case
Converts s to kebab-case.
Splits words the same way as camel_case.
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
