[][src]Function voca_rs::case::shouty_kebab_case

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

Converts the subject to SHOUTY kebab case.

Arguments

Example

use voca_rs::*;
case::shouty_kebab_case("goodbye blue sky");
// => "GOODBYE-BLUE-SKY"
case::shouty_kebab_case("GoodbyeBlueSky");
// => "GOODBYE-BLUE-SKY"
case::shouty_kebab_case("-Goodbye-Blue-Sky-");
// => "GOODBYE-BLUE-SKY"
use voca_rs::Voca;
"goodbye blue sky"._shouty_kebab_case();
// => "GOODBYE-BLUE-SKY"