Table of Contents

FindSplitPos Procedure

Codeunit Text Mgt.

Finds a position in a text where a line break could be placed.

Signature

FindSplitPos(TextToSplit: Text; MaxLen: Integer) : Integer

Parameters

TextToSplit Text

The text should be split up.

MaxLen Integer

The max length for each part that the input text should be split at.

Returns

Integer

The first part of TextToSplit cut at the last position of a word delimiter.

Remarks

The word delimiters that are used are: (space),.-:;)>!?&%/"

This documentation is generated from Smart Toolbox v27.1