Just wanted to thank Prattaratt and whosrdaddy who collectively gave me exactly what I needed.
I should have been clearer in original post - both O and 0 are valid search characters. But the final code became:
EditAsZeros := ReplaceText(SOSearchEdit.Text, 'O', '0');
CONAsZeros :=...
May I tap your collective genius.
I presently run a search for a string using the Pos command. However, users have been known to enter 0 when they mean O and vice-versa.
Is there an efficient search method for returning a result, say 01230, if 01230 or O1230 or 0123O or O123O are typed as the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.