Previous | Index | Next |
String manipulation methods
decodedDecimalFrom:
Decodes characters that appear in decimal form (DD;) or hexadecimal form (HHHH;), as used in XML and HTML
+ (id)decodedDecimalFrom:(id)listOrString
listOrString = a string or list of strings
If passed a string, returns the decoded string; if passed a list, an array of decoded strings.
Version 1.0.0
use scripting additions
use framework "Foundation"
use script "BridgePlus"
load framework
set aString to "café à Paris"
set theResult to current application's SMSForder's decodedDecimalFrom:aString
ASify from theResult
--> "café à Paris"
theResult as text
--> "café à Paris"