|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.EscapedString |
Top |
MiniRobotLanguage (MRL)
AIC.EscapedString
DESCRIPTION
Intention
Escapes special characters in a string to make it safe for transmission in JSON or other structured formats. This command converts characters like quotes, backslashes, and control characters into their escaped equivalents (e.g., \" for quotes, \\ for backslash).
Syntax
AIC.EscapedString|inputString
Example
' Escape special characters in a string
escaped = AIC.EscapedString|"Hello "World""
' Result: Hello \"World\"