FORMULA LANGUAGE


@NewLine
Example

Inserts a new line (carriage return) into a text string.

Syntax

@NewLine

Return value

carriageReturn


Usage

On the Web, this function does not work in selection, form, or window title formulas.

In Lotus Notes, this function does not work in selection, hide-when, column, window title, form formulas, or inside of @Prompt.

If you need to insert a carriage return inside an @Prompt formula, see @Char.

Tip To add multiple lines to a single column row:

1. In the View Properties box:

2. In the Column Properties box: 3. In the code for the column formula, specify each string or number that you want to display on a new line as a separate value. Since you set the Multi-value separator to New Line, this inserts a carriage return between each value. For example, the following column formula vertically lists the content of the FirstName field above the content of the LastName field in the column row:
Language cross-reference

AddNewLine method of LotusScript NotesRichTextItem class

addNewLine method of Java RichTextItem class

Example
See Also