${name:u}
: Uppercase
Uppercase the variable value.
Links
Examples
- Print uppercase value of a variable
- Output:
1 2
name="Jack Dalton" echo $name:u
1
JACK DALTON
BashSupport Pro is a Zsh IDE with support for $varName:u – try it now!