Utf8.upper: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 5: Line 5:
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<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>
<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">
<syntaxhighlight lang="lua">
(string) = utf8.upper(s)
(string) = utf8.upper(s)
</source>
</source>

Revision as of 13:32, 13 July 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. The definition of what a lowercase letter is depends on the current locale. <syntaxhighlight lang="lua"> (string) = utf8.upper(s) </source>

Parameters

s: (string)

Return values

Returns (string) string in upper case