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

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

Converts the subject to camel case.

Arguments

  • subject: &str - The string to convert to camel case.

Example

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