Insert

See Also: String Functions, Length, Overstrike, Pos, Replace

Purpose

Insert returns a string made up of one string inserted into another at a specified place.

Return Type

String

Syntax

(Insert ( {insert-string}, {host-string}, {position} ))

Where:

What It Does

Insert returns the value of the {host-string} with the value of {insert-string} inserted before the character that occupies the {position}'th character in the {host-string}.

Number nDigits

 

Move 123456789 To nDigits

Show (Insert("abc", nDigits, 3))

In this example, the value "12abc3456789" is shown.

Notes