Tinderbox v11 Icon

String.wordList()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Property  [other Property type actions]

 Item  [operators of similar scope]

 Data manipulation  [other Data manipulation operators]

 List [about List data type]

 v9.0.0

 Baseline

 As at baseline


Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses


String.wordList()

String.wordList

This returns a list of every discrete word in the supplied string. Note that the output list is all lowercase, regardless of source case. This operator requires running on macOS 10.14 and later.

$MyList = "I am the very model of a modern Major-General.".wordList; 

then MyList holds "i;am;the;very;model;of;a;modern;major;general".