Difference between revisions of "Utf8.lower"
From GiderosMobile
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2016.06<br/> | '''Available since:''' Gideros 2016.06<br/> | ||
+ | '''Class:''' [[utf8]]<br/> | ||
+ | |||
=== 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. | |
− | < | + | <syntaxhighlight lang="lua"> |
(string) = utf8.lower(s) | (string) = utf8.lower(s) | ||
− | </ | + | </syntaxhighlight> |
+ | |||
+ | The definition of what an uppercase letter is depends on the current locale. | ||
+ | |||
=== Parameters === | === Parameters === | ||
− | '''s''': (string) | + | '''s''': (string) <br/> |
+ | |||
=== Return values === | === Return values === | ||
− | '''Returns''' (string) | + | '''Returns''' (string) lowercased string<br/> |
+ | |||
+ | {{Utf8}} |
Latest revision as of 21:59, 1 December 2023
Available since: Gideros 2016.06
Class: utf8
Description
Receives a string and returns a copy of this string with all uppercase letters changed to lowercase. All other characters are left unchanged.
(string) = utf8.lower(s)
The definition of what an uppercase letter is depends on the current locale.
Parameters
s: (string)
Return values
Returns (string) lowercased string