Insert

Top  Previous  Next

Prototype

 

Insert(strSub,strDest,intPos)

 

Description

 

Inserts a substring into a string at the specified position.

 

Parameters

 

StrSub: sub string to.

StrDest: destination string.

IntPos: starting position inside the destination string.

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Delete the first 3 characters of current file name

Delete(_CurrentInputFile,1,3);

 

// Insert new volume name into current file name

Insert('\\SERVER',_CurrentInputFile,1);