Insert Character

 

Inserts an ASCII character at a specified location (offset) in a string.

 

For example, inserting the character 'C' in the string 'ABD' at an offset of 2, results in the string 'ABCD'.

Properties

Option

Description

Character code

Enter the ASCII value of the character. See ASCII characters and codes.

Destination

Enter the string variable containing the string that will take the insert.

Offset

Enter the offset location after which to begin insertion (a literal value preceded by =, or an integer variable). For example, a value of 2 means that the inserted character will occupy position 3 in the updated string.

A value of 0 inserts before the first character.

Exit Points

Exit Point

Description

Complete

This is taken when the action cell has executed.

Error

This is taken if an internal error occurred.