MidText

MidText('Text','StartPos','Length')

Arguments

'Text'

Text signal or input text (input in quotation marks)

'StartPos'

Zero-based index of the first character to extract from the text

'Length'

Number of characters to extract from the text

Description

This function returns a number 'Length' characters from within 'Text'. The resulting string starts with the character at the zero-based position 'StartPos'.

FindText

FindText('Text1','Text2','CaseSensitive'=FALSE,'N'=1)

Arguments

'Text1'

Text signal or input text (input in quotation marks)

'Text2'

Text which needs to be identified within the input text

'CaseSensitive'

Optional parameter to enable case sensitivity during text search

'N'

Parameter to find not the first but rather the 'N'th occurrence of 'Text2'

Description

This function returns a zero-based index of the position of the 'N'th occurrence of 'Text2' within 'Text1'. If the parameter 'CaseSensitive' is set to TRUE, a case sensitive search is conducted. If the 'Text2' is not found, the result is -1.