Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

StringCompareNoCase()

  • Last UpdatedJul 22, 2024
  • 1 minute read

Compares a string value with another string and ignores the case.

Category

String

Syntax

SStringCompareNoCase( Text1, Text2 );

Parameters

Text1

First string in the comparison.

Text2

Second string in the comparison.

Return Value

The return value is zero if the strings are identical (ignoring case), -1 if Text1’s value is less than Text2 (ignoring case), or 1 if Text1’s value is greater than Text2 (ignoring case).

Example

Result = StringCompareNoCase ("Text1","TEXT1"); (or)

Result = StringCompareNoCase (MText1,MText2);

Where Result is an Integer or Real tag and MText1 and MText2 are Memory Message tags.

See Also

StringASCII()

StringChar()

StringFromIntg()

StringFromReal()

StringFromTime()

StringFromTimeLocal()

StringInString()

StringLeft()

StringLen()

StringLower()

StringMid()

StringReplace()

StringRight()

StringSpace()

StringTest()

StringToIntg()

StringToReal()

StringTrim()

StringUpper()

Text()

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in