Insert text INSERT

Puts B into A after Position.

TagAfter two scans
Order'PO991'
OrderRev'PO991-R2'
Rev'-R2'
RevPos5

How it's used

Use INSERT to add text inside other text, such as a revision.

TagValue
Order'PO991'
Rev'-R2'
OrderRev'PO991-R2'

OrderRev is PO991-R2.

Operands

OperandData typeRead or write
ASTRING or a numberReads
BSTRING or a numberReads
PositionDINT or a numberReads
DestSTRINGWrites

Common mistakes

  • Confusing position with character countChoose where to insert, and leave enough destination capacity for the combined text.