StrEqual Function

Returns whether two strings are equal.

bool StrEqual(const char[] str1, const char[] str2, bool caseSensitive)

Parameters

const char[] str1

First string (left).

const char[] str2

Second string (right).

bool caseSensitive

If true (default), comparison is case sensitive. If false, comparison is case insensitive.

Return Value

True if equal, false otherwise.