Difference between revisions of "MC-Basic:TOASCII8$"
m (Text replace - "Available since version 4.5.18" to "Since Version 4.5.18") |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:TOASCII8$}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 10: | Line 11: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | Converts | + | Converts the UTF-8 coding format of the input string into the ASCII-8 coding format. Symbols located outside ASCII-8 range (Unicode value higher than 0xFF) are replaced by question marks. |
|TYPE= | |TYPE= | ||
Line 36: | Line 37: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:COMMON SHARED ... AS LONG or DOUBLE or STRING or STRING OF UTF8|COMMON SHARED ... AS LONG or DOUBLE or STRING or STRING OF UTF8]] |
− | * [[ | + | * [[MC-Basic:TOUTF8$|TOUTF8$]] |
− | [[Category | + | [[Category:MC-Basic:String Manipulation|TOASCII8$]] |
}} | }} |
Latest revision as of 09:29, 2 May 2017
Language: | English • 中文(简体) |
---|
Converts the UTF-8 coding format of the input string into the ASCII-8 coding format. Symbols located outside ASCII-8 range (Unicode value higher than 0xFF) are replaced by question marks.
Syntax
? TOASCII8$(<string>)
Availability
Since Version 4.5.18
Type
<string>: string
Range
<string>: string
Scope
Configuration, Task or Terminal
Examples
Common shared UTF8Str as string of UTF8
? TOASCII8$(UTF8Str)