text →
cobol-case() → text

Returns the input text in COBOL-CASE, uppercasing words 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" | cobol-case  "HELLO-WORLD"

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


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