Previous | Index | Next |
String manipulation methods
unencodedForXMLFrom:
Decode the five reserved XML characters only > < & " '
+ (id)unencodedForXMLFrom:(id)listOrString
listOrString = a string or list of strings
If passed a string, returns the unencoded string; if passed a list, an array of unencoded strings.
Version 1.0.0
use scripting additions
use framework "Foundation"
use script "BridgePlus"
load framework
set aString to "> < & " '"
set theResult to current application's SMSForder's unencodedForXMLFrom:aString
ASify from theResult
--> "> < & \" '"
theResult as text
--> "> < & \" '"