Difference between revisions of "Utf8.upper"

From GiderosMobile
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
+
'''Available since:''' Gideros 2016.06<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[utf8]]<br/>
<translate>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.</translate>
+
 
<source lang="lua">
+
=== 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)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''s''': (string) <translate></translate> <br/>
+
The definition of what a lowercase letter is depends on the current locale.
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (string) <translate>string in upper case</translate><br/>
+
=== 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