1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/// (String) Converts the input string into Camel-Case format.
///
/// Note that all the special characters will be removed and only valid letters remained.
///
/// # Example
///
/// ```rust
/// use lodust::camel_case;
///
/// let camel_cased = camel_case("Foo Bar".to_string());
/// // => "fooBar"
///
/// let camel_cased = camel_case("--foo--bar--".to_string());
/// // => "fooBar"
///
/// let camel_cased = camel_case("__FOO_BAR__".to_string());
/// // => "fooBar"
/// ```
///