SEARCH was designed to be fast and, at the time, it was much faster to scan for the first character of the searched-for string and, if you found it, execute a string compare instruction. It was also a much simpler algorithm. I later wrote a case-insensitive version but it either never made it into the released code or just never got documented.

I think it's funny that, even though an obvious enhancement, none of the coders who re-implemented the original Reality function added a case-insensitive option.

Stewart

-----Original Message-----
From: "Laura Hirsh" <[EMAIL PROTECTED]>
Date: Fri, 16 Mar 2007 09:15:20 -0400

SEARCH is another of my pet peeves. It should be *smart enough* to figure
out, or at least provide an option to be case insensitive. Maybe it does,
and I'm not aware. But it just always seemed crazy. So, I search - string?
"MARK JONES" then "Mark Jones" then "Mark jones" then "mark jones".

Laura
--
Stewart Leicester     |     JenSoft Technologies, LLC
"Per Ardua Ad Astra"  | <mailto:[EMAIL PROTECTED]>
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to