lowerCase

Modified on Wed, 02 Aug 2023

Description

Convert string, as space separated words, to lower case

Syntax

lowerCase(text)

Parameters

Input ParameterTypeDescription
text (optional)string

Return value

Type
string

Sample

ExampleResultDescription
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.