Difference between revisions of "Utf8"
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<!-- GIDEROSOBJ:utf8 --> | <!-- GIDEROSOBJ:utf8 --> | ||
− | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/> | + | '''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]][[File:Platform linux.png]]<br/> |
'''Available since:''' Gideros 2016.06<br/> | '''Available since:''' Gideros 2016.06<br/> | ||
Line 26: | Line 26: | ||
[[utf8.ncasecmp]] ''compares a and b without case''<br/><!--GIDEROSMTD:utf8.ncasecmp(a,b) compares a and b without case--> | [[utf8.ncasecmp]] ''compares a and b without case''<br/><!--GIDEROSMTD:utf8.ncasecmp(a,b) compares a and b without case--> | ||
[[utf8.next]] ''iterates through the UTF-8 string s''<br/><!--GIDEROSMTD:utf8.next(s,charpos,offset) iterates through the UTF-8 string s--> | [[utf8.next]] ''iterates through the UTF-8 string s''<br/><!--GIDEROSMTD:utf8.next(s,charpos,offset) iterates through the UTF-8 string s--> | ||
− | [[utf8.offset]] ''returns the position (in bytes) where the encoding of the n-th character of s''<br/><!--GIDEROSMTD:utf8.offset(s,n,i) returns the position (in bytes) where the encoding of the n-th character of s--> | + | [[utf8.offset]] ''returns the position (in bytes) where the encoding of the n-th character of s starts''<br/><!--GIDEROSMTD:utf8.offset(s,n,i) returns the position (in bytes) where the encoding of the n-th character of s starts--> |
[[utf8.remove]] ''deletes a substring in s''<br/><!--GIDEROSMTD:utf8.remove(s,start,stop) deletes a substring in s--> | [[utf8.remove]] ''deletes a substring in s''<br/><!--GIDEROSMTD:utf8.remove(s,start,stop) deletes a substring in s--> | ||
[[utf8.reverse]] ''returns a string that is the string s reversed''<br/><!--GIDEROSMTD:utf8.reverse(s) returns a string that is the string s reversed--> | [[utf8.reverse]] ''returns a string that is the string s reversed''<br/><!--GIDEROSMTD:utf8.reverse(s) returns a string that is the string s reversed--> |
Latest revision as of 21:24, 1 December 2023
Supported platforms:
Available since: Gideros 2016.06
Description
utf8 string library.
Methodsutf8.byte returns the internal numerical codes of the characters |
EventsConstantsutf8.charpattern utf8 char pattern [\0-\x7F\xC2-\xF4][\x80-\xBF]* |