|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.UnescapedString |
Top |
MiniRobotLanguage (MRL)
AIC.UnescapedString
DESCRIPTION
Intention
Converts escaped characters in a string back to their original form. This command reverses the escaping process, converting sequences like \" to ", \\ to \, and \n to newline characters. Useful when processing AI responses or JSON data.
Syntax
AIC.UnescapedString|escapedString
Example
' Convert escaped string back to normal
normal = AIC.UnescapedString|"Hello \"World\""
' Result: Hello "World"