text →
train-case() → text

Returns the input text in Train-Case, capitalizing each word and joining them with hyphens. Returns empty text when the input is null, empty, blank, or a zero-length array.

Parameters

This function has no parameters.

Examples

"Hello World" | train-case  "Hello-World"

Kind: Function
Scope: text/casing
Aliases: text-to-train-case


This site uses Just the Docs, a documentation theme for Jekyll.