The String Add Breaks action enables you to add breaks at specified locations within a string.
Input And Output
Input
From variable
Specify value
Output
Apply to existing variable
Specify output variable
Break Options
Break Style
This action can insert either a Carriage Return and Line Feed, which is the default for Windows operating systems, or a HTML line break.
Carriage return an line feed
HTML line break
Insertion options
Letter Count
Inserts a break after a set number of characters.
Word Count
Inserts a break after a set number of words.
Before a string
After a string
Inserts a break before or after the search string.
Instead of string
Search string
Case sensitive
Scripting Info
The Action properties available are :
property InputString : string;// The input string, if not using a variable
property OutputVariable: string;// The Output Variable name
property ApplyToInput : boolean;// Apply the changes to the input variable, only valid if using an input variable
property UsingInputVariable : boolean;// True if using an input variable, not input string
property InputVariable : string;// Input variable name
property UseHtmlBreak : boolean;// True to Use Html Break, False to use CRLF
property BreakOnLetterCount: boolean;// True to Break On Letter Count, otherwise false
property BreakOnWordCount: boolean;// True to Break On Word Count, otherwise false
property BreakOnAfterString: boolean;// True to insert Break after string, otherwise false
property BreakOnBeforeString: boolean;// True to insert Break before string, otherwise false
property SearchString: string;// The search string
property Count: string;// The Word or Letter count
property CaseSensitive: boolean;// True for a case sensitive search, otherwise false.