upperCase
Modified on Wed, 02 Aug 2023
Description
Convert string, as space separated words, to upper case
Syntax
upperCase(text)
Parameters
Input Parameter | Type | Description |
---|---|---|
text | string | The string to convert. |
Return value
Type |
---|
string |
Sample
Example | Result | Description |
---|---|---|
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.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article