[][src]Function voca_rs::case::upper_first

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

Converts the first character of the subject to upper case.

Arguments

Example

use voca_rs::*;
case::upper_first("fred");
// => "Fred"
case::upper_first("FRED");
// => "FRED"
use voca_rs::Voca;
"fred"._upper_first();
// => "Fred"