Difference between revisions of "String.lower"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Receives a string and returns a copy of this string with all uppercase letters changed to lowercase. All other characters are left unchanged. The definition of what an uppercase letter is depends on the current locale. | Receives a string and returns a copy of this string with all uppercase letters changed to lowercase. All other characters are left unchanged. The definition of what an uppercase letter is depends on the current locale. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(string) = string.lower(s) | (string) = string.lower(s) | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: Gideros 2011.6
Class: string
Description
Receives a string and returns a copy of this string with all uppercase letters changed to lowercase. All other characters are left unchanged. The definition of what an uppercase letter is depends on the current locale. <syntaxhighlight lang="lua"> (string) = string.lower(s) </source>
Parameters
s: (string) string to modify
Return values
Returns (string) lowercased string