Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

String manipulation methods

Method

decodedDecimalFrom:

Summary

Decodes characters that appear in decimal form (&#DD;) or hexadecimal form (&#xHHHH;), as used in XML and HTML

Signature

+ (id)decodedDecimalFrom:(id)listOrString

Parameters

listOrString = a string or list of strings

Result

If passed a string, returns the decoded string; if passed a list, an array of decoded strings.

Availability

Version 1.0.0

Notes

 

Sample

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"


Click here to open script in a script editor