INDEX('<.A><.B><><.C.D.E>','<.D.E>') -> 4 POS('<.A>','<.A><.B><><.A.D.E>') -> 1 LASTPOS('<.A>','<.A><.B><><.A.D.E>') -> 3
Applying the character extraction from a string and character comparison rules.