upperCase

String
since 4.0.0

Arguments

  • string The string to convert.

Returns

string the upper cased string.

Converts string, as space separated words, to upper case.

Example of Lodash _.upperCase

_.upperCase('--foo-bar');
// => 'FOO BAR'

_.upperCase('fooBar');
// => 'FOO BAR'

_.upperCase('__foo_bar__');
// => 'FOO BAR'