String manipulation

WORDWRAP – Word wrap a string to specified length

72 views June 1, 2018 July 26, 2018 admin 0

Overview

This Custom Field word wraps the given string to a specified line length.

Syntax

WORDWRAP(Text,LineLength,BreakCharacter)

WORDWRAP(FIELDSTR(‘description’),80,^n)

Element String
Text The text to wrap.
LineLength The maximum number of characters per line.
BreakCharacter The character to use to break the line.

Example

WORDWRAP(FIELDSTR(‘description’),20,^n)

Description WORDWRAP(FIELDSTR(‘description’),20,^n)
The quick brown fox jumps over the lazy dog. The quick brown fox

jumps over the lazy

dog.

The red-brown fox jumps over the lazy dog. The red-brown fox ju

mps over the lazy do

g.

See also

Was this helpful?