cobol-case
text →
cobol-case() → text
Returns the input text in COBOL-CASE, uppercasing words and joining them with hyphens. Preserves null, empty, and blank inputs; returns null for 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