PosIEx is a case insensitive PosEx. It searches for the first occurrence of SubStr in S, starting from the character at Offset. It returns the index of the match.
function PosIEx(const SubStr, S: string; Offset: Integer = 1): Integer;
Validation and Benchmark Tool: PosIExBV131.zip