String.toUpperCase
toUpperCase($options={}) -> string
Description
Convert all characters to upper case.
If $options
is -first
, then only convert the first character to upper case.
See also toTitleCase.
'abc xyz-123'.toUpperCase() //= 'ABC XYZ-123' 'abc xyz-123'.toUpperCase(-first) //= 'Abc xyz-123'