Deletes a substring inside a string (text or code).

NewString := DELSTR(String, Position[, Length])

Parameters

String

Type: Text constant or code

The input string.

Position

Type: Integer

The position of the first character that you want to delete. Position must be greater than zero (0).

If Position exceeds the length of String, DELSTR returns the original string, unchanged.

Length

Type: Integer

Specifies how many characters to delete. Length must be greater than zero (0).

Expand imageProperty Value/Return Value

Expand imageRemarks

Expand imageExample

Expand imageSee Also