Utf8.upper: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| (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 lowercase letters changed to uppercase. All other characters are left unchanged. | |||
< | <syntaxhighlight lang="lua"> | ||
(string) = utf8.upper(s) | (string) = utf8.upper(s) | ||
</ | </syntaxhighlight> | ||
The definition of what a lowercase letter is depends on the current locale. | |||
=== Parameters === | === Parameters === | ||
'''s''': (string) | '''s''': (string) <br/> | ||
=== Return values === | === Return values === | ||
'''Returns''' (string) | '''Returns''' (string) string in upper case<br/> | ||
{{Utf8}} | |||
Latest revision as of 21: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