Strings.toUpperCase()

Convert all lowercase letters to uppercase in the specified string.

Returns a version of the string with uppercase characters replaced with lowercase characters -- this is equivalent to using `toUpperCase()` in JavaScript.

Usage

Hover over inputs/exits for more info.

var Strings = require('machinepack-strings');


// Convert all lowercase letters to uppercase in the specified string.

Strings.toUpperCase({

string: 'Some stuff and THINGS 235823523',

}).execSync();

Inputs

string required

The string to uppercase.

'Some stuff and THINGS 235823523'

Exits

error

An unexpected error occurred.

success

OK.

'SOME STUFF AND THINGS 235823523'