[Lazarus] Easiest way to "case" strings
Howard Page-Clark
hdpc at talktalk.net
Sat Mar 21 23:57:20 CET 2009
On Sat, 21 Mar 2009 15:39:23 +0100
Marc Weustink <marc at dommelstein.net> wrote:
> Alexander Klenin wrote:
> > On Sat, Mar 21, 2009 at 23:37, Marc Weustink <marc at dommelstein.net>
> > wrote:
> >> At the time I wrote StringCase, AnsiIndexStr / AnsiIndexText were
> >> unknown to me. I wonder even if they existed at that time. When did
> >> delphi introduce them ? (just a coincidence, I just "discovered"
> >> them last week)
> >>
> >
> > They definitely exist in Delphi 7.
> > Google search suggests they were introduced around Delphi 5.
>
> That might explain, the first incarnation of StringCase was written
> in D4
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.
Howard
More information about the Lazarus
mailing list