Function lodust::camel_case[][src]

pub fn camel_case(s: String) -> String
Expand description

(String) Convert the input string into Camel-Case format.

Note that all the special characters will be removed and only valid letters remained.

Example

use lodust::camel_case;

let camel_cased = camel_case("--foo--bar--".to_string());