Previous | Index | Next |
Substring extraction methods
localizedWordsOfString:
The same as wordsOfString:, except results may vary depending on the current locale.
+ (NSArray *)localizedWordsOfString:(NSString *)aString
aString = A string
An array of strings
Version 1.0.0
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"}