Creates a (plain text) abstract of the specified text, including the specified word(s).
Syntax
Smartsite SXML | Copy Code |
---|---|
string string.abstract(string text, integer maxLength, string includeWords) |
Parameters
Name | Data Type | Description |
---|---|---|
text | String | The text. |
maxLength | Integer | Maximum length of the abstract. |
includeWords | String | The word(s) (comma-separated) to include within the abstract. |
Return Value
Data Type | Description |
---|---|
String | String containing the abstract. |