Function string_template_plus::transformers::string_format_case
source · pub fn string_format_case(
val: &str,
args: Vec<&str>
) -> Result<String, TransformerError>
Expand description
Format the string. Supports up
=> UPCASE, down
=> downcase, proper
=> first character UPCASE all others downcase, title
=> title case according to titlecase::titlecase
. e.g. {var:case(up)}
.