Operator Type:
Operator Scope of Action:
Operator Purpose:
Data Type Returned:
Operator First Added:
Operator in Current Baseline:
Operator Last Altered:
Operator [other Operator type actions]
Item [operators of similar scope]
Data manipulation [other Data manipulation operators]
List [about List data type]
v9.7.3
Baseline
As at baseline
String.sentences()
String.sentences() returns a list of sentences in the source String. Sentences are formed by natural language analysis of the text, which reduces the likelihood of errors cause by abbreviations, decimals, and quoted interjections.
The operator takes no arguments so the trailing parentheses may be omitted if desired.
Note:
- any/every semicolon in the sentences are replaced by an underscore character (
_
). This is because list-based Tinderbox attributes use semicolons to delimit the list's items. - any leading/trailing whitespace (including tabs, line breaks, etc.) is trimmed from the sentence.
Example:
$MyList = $Text.sentences();
-