Inserts a substring into a string.

NewString := INSSTR(String, SubString, Position)

Parameters

String

Type: Text constant or code

The string into which you want to insert a substring.

SubString

Type: Text constant or code

The substring that you want to insert into String.

Position

Type: Integer

Specifies where to insert SubString. Position must be greater than or equal to 1.

If Position is greater than the length of String, the result is concatenated and placed into NewString.

Expand imageProperty Value/Return Value

Expand imageRemarks

Expand imageExample

Expand imageSee Also