to_lower
Convert a string to lowercase
Definition
string to_lower(string $string)
Converts $string
to lowercase.
Parameters
string $string
The string to convert to lowercase.
Returns
string
$string
with uppercase characters replaced with lowercase.
Examples
{
a: to_lower('UPPERCASE'),
b: to_lower('lowercase'),
c: to_lower('Sentence. Case.'),
d: to_lower(`3`),
e: to_lower(`true`),
f: to_lower(`null`)
}
{
"a": "uppercase",
"b": "lowercase",
"c": "sentence case.",
"d": null,
"e": null,
"f": null
}
Updated about 1 year ago