Difference between revisions of "MC-Basic:TOASCII8$"

From SoftMC-Wiki
Jump to: navigation, search
 
(6 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 theUTF-8 coding format of the input string into theASCII-8 coding format.Symbols located outside ASCII-8 range (Unicode value higher than 0xFF) are replaced by question marks.
+
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 37: Line 38:
 
|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:COMMON SHARED ... AS LONG or DOUBLE or STRING or STRING OF UTF8|COMMON SHARED ... AS LONG or DOUBLE or STRING or STRING OF UTF8]]
* [[Axystems:MC-Basic:TOUTF8$|TOUTF8$]]
+
* [[MC-Basic:TOUTF8$|TOUTF8$]]
  
[[Category:Axystems:MC-Basic:String_Manipulation|TOASCII8$]]
+
[[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)

See Also