[Lazarus] Easiest way to "case" strings

Alexander Klenin klenin at gmail.com
Sun Mar 22 07:14:09 CET 2009


On Sun, Mar 22, 2009 at 08:57, Howard Page-Clark <hdpc at talktalk.net> wrote:
> IndexStr() and AnsiIndexStr() were introduced in the then new StrUtils
> unit that shipped with BDS 3.0 (Delphi 2005). There is no StrUtils
> unit, or access to these functions in my Delphi 5 installation.

Are you sure? I did not found Delphi 5 installation, but managed to
install Delphi 6 --
StrUtils unit is at C:\Program
Files\Borland\Delphi6\Source\Rtl\Common\StrUtils.pas
and it does contain AnsiIndex* functions.
Copyright header says "1995-2001" which I think dates at least the
unit itself all the way
back to Delphi 1.

-- 
Alexander S. Klenin



More information about the Lazarus mailing list