You are viewing an older version of the site. Click here to view
the latest version of this page. (This may be a dead link, if so, try the root page of the docs
here.)
== to_lower ==
[[../../Optimizer#CACHE_RETURN|CACHE_RETURN]] |} === Usages ===
Copy Code
The output would be:
Copy Code
The output would be:
Copy Code
The output would be:
Returns an all lower case version of str
=== Vital Info ===
{| style="width: 40%;" cellspacing="1" cellpadding="1" border="1" class="wikitable"
|-
! scope="col" width="20%" |
! scope="col" width="80%" |
|-
! scope="row" | Name
| to_lower
|-
! scope="row" | Returns
| string
|-
! scope="row" | Usages
| str
|-
! scope="row" | Throws
| [[../objects/ms.lang.FormatException|ms.lang.FormatException]]
|-
! scope="row" | Since
| 3.1.2
|-
! scope="row" | Restricted
| No
|-
! scope="row" | Optimizations
| [[../../Optimizer#CONSTANT_OFFLINE|CONSTANT_OFFLINE]] [[../../Optimizer#CACHE_RETURN|CACHE_RETURN]] |} === Usages ===
to_lower(str)=== Examples === ====Example 1==== Given the following code:
to_lower('LOWERCASE')

1 {{function|to_lower}}('LOWERCASE')
:lowercase====Example 2==== Given the following code:
to_lower('MiXeD cAsE')

1 {{function|to_lower}}('MiXeD cAsE')
:mixed case====Example 3==== Given the following code:
to_lower('Numbers (and SYMBOLS: 25)')

1 {{function|to_lower}}('Numbers (and SYMBOLS: 25)')
:numbers (and symbols: 25)
Find a bug in this page? Edit this page yourself, then submit a pull request. (Note this page is automatically generated from the documentation in the source code.)