upperCase

Modified on Wed, 02 Aug 2023

Description

Convert string, as space separated words, to upper case

Syntax

upperCase(text)

Parameters

Input ParameterTypeDescription
textstringThe string to convert.

Return value

Type
string

Sample

ExampleResultDescription
upperCase('--Hello-World--')'HELLO WORLD'Remove non-alphanumeric characters and convert the text to upper case
upperCase('helloWorld')'HELLO WORLD'Convert camel case to upper case
upperCase('__HELLO_WORLD__')'HELLO WORLD'Remove non-alphanumeric characters and convert the text to upper case
upperCase('--Hello-World123--')'HELLO WORLD123'Remove non-alphanumeric characters and convert the text to upper case

To view all the String functions, click here.