Skip to main content

to_camel_case

Function to_camel_case 

Source
pub fn to_camel_case(input: &str) -> String
Expand description

Convert string to camelCase

§Arguments

  • input - String to convert

§Example

ⓘ
let camel = to_camel_case("hello world test");
assert_eq!(camel, "helloWorldTest");