<div dir="ltr"><div class="gmail_extra">Dmitry:</div><div class="gmail_extra"><br></div><div class="gmail_extra">See this function and test if against a large block of text doing a case insensitive replace on a moderate length phrase. Match it in speed against whatever is in the RTL and see if my function is faster and by how much.</div><div class="gmail_extra"><br></div><div class="gmail_extra">function StrReplace(const S, OldPattern, NewPattern: string; IgnoreCase: Boolean = False): string;</div></div>