lowerCase
Modified on Wed, 02 Aug 2023
Description
Convert string, as space separated words, to lower case
Syntax
lowerCase(text)
Parameters
Input Parameter | Type | Description |
---|---|---|
text (optional) | string |
Return value
Type |
---|
string |
Sample
Example | Result | Description |
---|---|---|
lowerCase('--Hello-World--') | 'hello world' | Remove non-alphanumeric characters and convert the text to lower case |
lowerCase('helloWorld') | 'hello world' | Convert camel case to lower case |
lowerCase('__HELLO_WORLD__') | 'hello world' | Remove non-alphanumeric characters and convert the text to lower case |
lowerCase('--Hello-World123--') | 'hello world 123' | Remove non-alphanumeric characters and convert the text to lower 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