Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

Substring extraction methods

Method

localizedWordsOfString:

Summary

The same as wordsOfString:, except results may vary depending on the current locale.

Signature

+ (NSArray *)localizedWordsOfString:(NSString *)aString

Parameters

aString = A string

Result

An array of strings

Availability

Version 1.0.0

Notes

 

Sample

use scripting additions

use framework "Foundation"

use script "BridgePlus"

load framework


set aString to "This is a string"

set theResult to current application's SMSForder's localizedWordsOfString:aString

ASify from theResult

--> {"This", "is", "a", "string"}

theResult as list

--> {"This", "is", "a", "string"}


Click here to open script in a script editor