to_lower

Modified on Thu, 9 Jul at 10:49 AM

to_lower

TABLE OF CONTENTS

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

Transformation
{
  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`)
}
Result
{
  "a": "uppercase",
  "b": "lowercase",
  "c": "sentence case.",
  "d": null,
  "e": null,
  "f": null
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article