constant-case
Function
Converts text to CONSTANT_CASE format (uppercase with underscores)
Syntax
$text = constant-case "hello world"
with literal text
$text = constant-case $title
with variable text
Converts text to CONSTANT_CASE format (uppercase with underscores)
$text = constant-case "hello world"
with literal text
$text = constant-case $title
with variable text