Convert String Operations

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > String commands > !STR.- String Command > Convert String Commands >

Convert String Operations

STR.Chr To Utf

Previous Top Next


MiniRobotLanguage (MRL)

 

STR.Chr To Utf

Translates a string of ANSI characters to UTF-8 byte characters.

 

 

Intention

 

Translates a string of ANSI characters to UTF-8 byte characters.

 

 

Syntax

 

 

STR.Chr To Utf|P1[P2]

 

 

Parameter Explanation

 

P1 - Source variable. If P2 is missing then its also the destination variable

 

P2 - (optional) destination variable. If omitted the result is placed in the variable in P1.

 

 

 

 

Example

 

'***********************************

' STR.-Sample

'***********************************

VAS.$$UNI=Hallöchen Müßli

PRT.$$UNI|c

STR.UTF to CHR|$$UNI

PRT.$$UNI|c

STR.CHR To UTF|$$UNI

PRT.$$UNI|c

MBX.!

END.

 

clip0943

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: