Recent

Author Topic: CASE statement with strings.  (Read 43703 times)

cdbc

  • Sr. Member
  • ****
  • Posts: 402
    • http://www.cdbc.dk
Re: CASE statement with strings.
« Reply #30 on: October 18, 2022, 09:18:55 am »
Hi
@Sven:
No I wasn't aware, must have slipped by me  :-X
Anyway, when I wrote that, it was 1998 or 1999 and in delphi 2..6. It just stuck with me through the years  ::)
Regards Benny
If it ain't broke, don't fix it ;)

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2557
Re: CASE statement with strings.
« Reply #31 on: October 22, 2022, 12:04:23 pm »
Hi
@Sven:
No I wasn't aware, must have slipped by me  :-X
Anyway, when I wrote that, it was 1998 or 1999 and in delphi 2..6. It just stuck with me through the years  ::)
Regards Benny

Sounds familiar, in the D4 era I wrote StringCase, doing the same and still using it. I do know that IndexStr exists but cant remember it.  :)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018