[][src]Function voca_rs::case::camel_case

pub fn camel_case(subject: &str) -> String

Converts the subject to camel case.

Arguments

Example

use voca_rs::*;
case::camel_case("bird flight");
// => "birdFlight"
case::camel_case("BirdFlight");
// => "birdFlight"
case::camel_case("-BIRD-FLIGHT-");
// => "birdFlight"
use voca_rs::Voca;
"bird flight"._camel_case();
// => "birdFlight"