Edit

Share via


Text.IncStr(Text) Method

Version: Available or changed with runtime version 1.0.

Increases the last positive number or decreases the last negative number inside a string by one (1).

Syntax

NewString :=   Text.IncStr(String: Text)

Note

This method can be invoked without specifying the data type name.

Parameters

String
 Type: Text
The string that you want to increase or decrease.

Return Value

NewString
 Type: Text
The incremented string.

Text data type
Getting started with AL
Developing extensions