DeleteText
DeleteText('Text','StartPos','Length')
Arguments
|
'Text' |
Text signal or input text (input in quotation marks) |
|
'StartPos' |
Zero-based index of the first deleted character |
|
'Length' |
Number of characters to delete |
Description
This function removes a number of 'Length' characters from 'Text'. The first character to delete is at position 'StartPos' within the text.
InsertText
InsertText('Text1','Text2','Pos')
Arguments
|
'Text1' |
Original text |
|
'Text2' |
Text which is inserted in the original text |
|
'Pos' |
Zero-based character position where 'Text2' is inserted |
Description
This function inserts 'Text2' into 'Text1' at the zero-based character position 'Pos'. If 'Pos' is less or equal to zero, then 'Text2' is prepended to 'Text1'. If 'Pos' is larger or equal to the length of 'Text1', then 'Text2' is appended to 'Text1'.
ReplaceText
ReplaceText('Text','SearchText','ReplaceText')
Arguments
|
'Text' |
Text signal or input text (input in quotation marks) |
|
'SearchText' |
Text to be replaced within 'Text' |
|
'ReplaceText' |
If 'SearchText' is found, it is replaced by 'ReplaceText' |
Description
This function replaces all occurrences of 'SearchText' within 'Text' with 'ReplaceText'.
