man mtext_text () - Locate an M-text in another.
NAME
mtext_text - Locate an M-text in another.
SYNOPSIS
int mtext_text (MText * mt1, int pos, MText * mt2)
DESCRIPTION
The mtext_text() function finds the first occurrence of M-text mt2 in M-text mt1 after the position pos while ignoring difference of the text properties.
RETURN VALUE
If mt2 is found in mt1, mtext_text() returns the position of it first occurrence. Otherwise it returns -1. If mt2 is empty, it returns 0.