EqualString

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

EqualString

The EqualString function determines whether two supplied strings are equal.

Syntax

bool EqualString(
  string string1,
  string string2,
  bool ignoreCase
);

Parameters

  • string1
    A string.

  • string2
    A string to compare to string1.

  • ignoreCase
    Indicates whether case should be ignored when matching. If true, case will be ignored; if false, case will be considered.

Return Values

Returns true if string1 and string2 are equal; false if they are not.