InsertText('Text1','Text2','Pos')

Arguments

'Text1'

Text signal or "text" where another text should be inserted

'Text2'

Text signal or "text" whose text should be inserted into 'Text1'

'Pos'

Analog signal or number; specifies the position where the text should be inserted.

'Pos' ≤ 0

'Text2' is prepended to 'Text1'.

'Pos' ≥ length of 'Text1'

'Text2' is appended to 'Text1'.

Description

This function inserts a 'Text2' into a 'Text1' at position 'Pos'.

Example

Arguments

'Text1'

'Text2'

'Pos'

[TextSignal_1]

Value: 123_XYZ

[TextSignal2]

Value: abcd_

4

Formula

InsertText([TextSignal1],[TextSignal2],4)

Result

123_abcd_XYZ