HomeManualTopicsTypesSymbols

std_types::string/std::to_sentence_case

converts the spefied string to "Sentence case"

Parameter

self

Results

None

Example

$str "this is a test." $sentence_case_str str.to_sentence_case println! sentence_case_str

Output

This is s test.

Topic

Strings

Implements

std::to_sentence_case converts a string to "Sentence case"

See also

std::to_title_case converts the contents to Title Case