Difference between revisions of "Utf8"
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2016.06<br/> === Description === utf8 string library{|- | style="width: 50%;"| === Methods === | styl...") |
|||
Line 3: | Line 3: | ||
'''Available since:''' Gideros 2016.06<br/> | '''Available since:''' Gideros 2016.06<br/> | ||
=== Description === | === Description === | ||
− | utf8 string library{|- | + | utf8 string library |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === | ||
+ | [[utf8.byte]] - Returns the internal numerical codes of the characters<br/> | ||
+ | [[utf8.char]] - Returns a string from integers as characters<br/> | ||
+ | [[utf8.charpos]] - convert UTF-8 position to byte offset<br/> | ||
+ | [[utf8.codepoint]] - Returns the codepoints (as integers) from all characters<br/> | ||
+ | [[utf8.codes]] - Returns values so that the construction<br/> | ||
+ | [[utf8.escape]] - Escape a str to UTF-8 format string<br/> | ||
+ | [[utf8.find]] - Looks for the first match of pattern in the string s<br/> | ||
+ | [[utf8.fold]] - convert UTF-8 string s to folded case used to compare by ignore case<br/> | ||
+ | [[utf8.gmatch]] - Returns an iterator function<br/> | ||
+ | [[utf8.gsub]] - Returns a copy of s in which all (or the first n, if given) occurrences of the pattern have been replaced<br/> | ||
+ | [[utf8.insert]] - Insert a substring to s<br/> | ||
+ | [[utf8.len]] - Returns the number of UTF-8 characters in string<br/> | ||
+ | [[utf8.lower]] - Receives a string and returns a copy of this string with all uppercase letters changed to lowercase<br/> | ||
+ | [[utf8.match]] - Looks for the first match of pattern in the string s<br/> | ||
+ | [[utf8.ncasecmp]] - Compare a and b without case<br/> | ||
+ | [[utf8.next]] - Iterate though the UTF-8 string s<br/> | ||
+ | [[utf8.offset]] - Returns the position (in bytes) where the encoding of the n-th character of s<br/> | ||
+ | [[utf8.remove]] - Delete a substring in s<br/> | ||
+ | [[utf8.reverse]] - Returns a string that is the string s reversed.<br/> | ||
+ | [[utf8.sub]] - Returns the substring of s that starts at i and continues until j<br/> | ||
+ | [[utf8.title]] - Convert UTF-8 string s to title case used to compare by ignore case<br/> | ||
+ | [[utf8.upper]] - Receives a string and returns a copy of this string with all lowercase letters changed to uppercase. <br/> | ||
+ | [[utf8.width]] - calculate the width of UTF-8 string s<br/> | ||
+ | [[utf8.widthindex]] - Return the character index at given location in string s.<br/> | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
+ | [[utf8.charpattern]] | ||
|} | |} |
Revision as of 08:57, 23 August 2018
Supported platforms:
Available since: Gideros 2016.06
Description
utf8 string library
Methodsutf8.byte - Returns the internal numerical codes of the characters |
EventsConstants |