Table of Contents

Truncate Procedure

Codeunit Text File Importer

Copies a text to another text, truncates the text at the max length of the target text if needed.

Deprecated

This procedure is deprecated and should not be used.

Reason: This function is deprecated and will be removed.
Deprecated since: 21.2

Signature

[Obsolete('This function is deprecated and will be removed.', '21.2')]
Truncate(var TargetText: Text; SourceText: Text)

Parameters

var TargetText Text

The target where the text will be copied to. If the maximum length of this is shorter than the source text, the text will be truncated.

SourceText Text

The text that will be copied.

This documentation is generated from Smart Toolbox v27.1