Converts string, as space separated words, to upper case.
string
The string to convert.
Returns the upper cased string.
5.13.0
[[camelCase]], [[kebabCase]], [[lowerCase]], [[snakeCase]], [[startCase]], [[upperFirst]]
upperCase('--foo-bar')// => 'FOO BAR'upperCase('fooBar')// => 'FOO BAR'upperCase('__foo_bar__')// => 'FOO BAR' Copy
upperCase('--foo-bar')// => 'FOO BAR'upperCase('fooBar')// => 'FOO BAR'upperCase('__foo_bar__')// => 'FOO BAR'
Converts
string
, as space separated words, to upper case.