abstractText (NotesItem - JavaScript)

Abbreviates the contents of a text item.

Defined in

NotesItem

Syntax

abstractText(maxlen:int, dropvowels:boolean, userdict:boolean) : string
Parameter Description
maxlen The maximum length of the abbreviation.
dropvowels Specify true if you want to drop vowels from the words in the item. Otherwise, specify false.
userdict Specify true if you want to use the table of abbreviations in NOTEABBR.TXT. Otherwise, specify false.
Return value Description
string The contents of the item, with vowels dropped and abbreviations substituted (if specified), then truncated to fit the maximum length.