Supported platforms: Available since: Gideros 2016.06
utf8 string library
utf8.byte Template:Returns the internal numerical codes of the characters utf8.char Template:Returns a string from integers as characters utf8.charpos Template:Convert UTF-8 position to byte offset utf8.codepoint Template:Returns the codepoints (as integers) from all characters utf8.codes Template:Returns values so that the construction utf8.escape Template:Escape a str to UTF-8 format string utf8.find Template:Looks for the first match of pattern in the string s utf8.fold Template:Convert UTF-8 string s to folded case used to compare by ignore case utf8.gmatch Template:Returns an iterator function utf8.gsub Template:Returns a copy of s in which all (or the first n, if given) occurrences of the pattern have been replaced utf8.insert Template:Insert a substring to s utf8.len Template:Returns the number of UTF-8 characters in string utf8.lower Template:Receives a string and returns a copy of this string with all uppercase letters changed to lowercase utf8.match Template:Looks for the first match of pattern in the string s utf8.ncasecmp Template:Compare a and b without case utf8.next Template:Iterate though the UTF-8 string s utf8.offset Template:Returns the position (in bytes) where the encoding of the n-th character of s utf8.remove Template:Delete a substring in s utf8.reverse Template:Returns a string that is the string s reversed. utf8.sub Template:Returns the substring of s that starts at i and continues until j utf8.title Template:Convert UTF-8 string s to title case used to compare by ignore case utf8.upper Template:Receives a string and returns a copy of this string with all lowercase letters changed to uppercase. utf8.width Template:Calculate the width of UTF-8 string s utf8.widthindex Template:Return the character index at given location in string s.
utf8.charpattern