Difference between revisions of "Utf8.upper"

From GiderosMobile
 
(6 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. The definition of what a lowercase letter is depends on the current locale.
+
Receives a string and returns a copy of this string with all lowercase letters changed to uppercase. All other characters are left unchanged.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = utf8.upper(s)
 
(string) = utf8.upper(s)
</source>
+
</syntaxhighlight>
 +
 
 +
The definition of what a lowercase letter is depends on the current locale.
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''s''': (string) <br/>
+
'''s''': (string) <br/>
 +
 
 
=== Return values ===
 
=== Return values ===
 
'''Returns''' (string) string in upper case<br/>
 
'''Returns''' (string) string in upper case<br/>
 +
 +
{{Utf8}}

Latest revision as of 23: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