EqualString

The EqualString function determines whether two supplied strings are equal.

Syntax

  Copy imageCopy Code
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.