Available in D6 - Other versions Unknown ?
 
CompareText
 
Compares two strings by ordinal value without case sensitivity.
 
Unit
 
SysUtils
 
Category
 
string handling routines
 
function CompareText(const S1, S2: string): Integer;
 
Description
 
CompareText compares S1 and S2 and returns 0 if they are equal. If S1 is greater than S2, CompareText returns an integer greater than 0. If S1 is less than S2, CompareText returns an integer less than 0. CompareText is not case sensitive and is not affected by the current locale.
 
 
Regards
Paul McKenzie
Analyst Programmer
SMSS ltd.
 
----- Original Message -----
From: "Neven MacEwan" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 4:05 PM
Subject: [DUG]: Case Insensitive POS

> Yo all
>
> Anyone OTTOTH know is there is a std case insesitive vserion of pos()
>
> TIa
>
>  Regards Neven
>  N.K. MacEwan B.E. E&E
>  Ph 649 621 0001
>  Fax 649 621 0400
>  
[EMAIL PROTECTED]
>
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at:
http://www.mail-archive.com/delphi%40delphi.org.nz/
>

Reply via email to