Difference between revisions of "String.lower"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[string]]<br/> |
− | ''' | + | |
− | === | + | === 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. | |
<source lang="lua"> | <source lang="lua"> | ||
(string) = string.lower(s) | (string) = string.lower(s) | ||
</source> | </source> | ||
− | === | + | |
− | '''s''': (string) | + | === Parameters === |
− | === | + | '''s''': (string) string to modify<br/> |
− | ''' | + | |
+ | === Return values === | ||
+ | '''Returns''' (string) lowercased string<br/> | ||
{{String}} | {{String}} |
Revision as of 06:23, 20 January 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.
(string) = string.lower(s)
Parameters
s: (string) string to modify
Return values
Returns (string) lowercased string