AI - Direct Access

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AI - Direct Access >

AI - Direct Access

AIC.UnEscaped String

Previous Top Next


MiniRobotLanguage (MRL)

 

AIC.UnEscaped String
UnEscape a text string for use within JSON structures

 

clip0625

 

 

Intention

 

The AIC.UnEscaped String command, also accessible through its alias AIC.USC, is used to unescape a text string that was in use within JSON structures. JSON structures require certain characters to be escaped, such as double quotes, backslashes, and control characters. This command makes sure the text is converted back to original encoding.

 

 

Example Usage:

 

$$TXT=\"Hallo /n Peter\"

AIC.UnEscaped String|$$TXT|$$RET

DBP.$$RET

ENR.

 

clip0628

 

 

Syntax

 

 

AIC.UnEscaped String|P1[|P2]

AIC.USC|P1[|P2]

 

 

Parameter Explanation

 
P1 - Variable or text, this is the text that should be "unescaped" from earlier use with JSON Structures.

P2 - opt. Variable for the result, if omitted the result is been placed on TOS.

 

Example

 

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

' EXAMPLE: AIC.-Commands

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

-

 

Remarks

Make sure that the input text is properly formatted before using this command, especially if it already contains escaped characters.

 

Limitations:

-

 

 

See also:

 

  Set_Key

  Ask_Chat

  Ask_Completion