編輯

共用方式為


Text.Remove(Integer [, Integer]) Method

Version: Available or changed with runtime version 1.0.

Returns a new Text in which a specified number of characters from the current string are deleted.

Syntax

Result :=   Text.Remove(StartIndex: Integer [, Count: Integer])

Note

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

Parameters

Text
 Type: Text
An instance of the Text data type.

StartIndex
 Type: Integer
The one-based position to begin deleting characters.

[Optional] Count
 Type: Integer
The number of characters to delete.

Return Value

Result
 Type: Text
The end result Text.

Text Data Type
Get Started with AL
Developing Extensions