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