Class StringComparer
Represents a class used to match Strings using various parameters.
Inherited Members
Namespace: TriLibCore.Utils
Assembly: TriLibCore.dll
Syntax
public static class StringComparer
Methods
Matches(StringComparisonMode, bool, string, string)
Compares two Strings using the class options.
Declaration
public static bool Matches(StringComparisonMode stringComparisonMode, bool caseInsensitive, string left, string right)
Parameters
Type | Name | Description |
---|---|---|
StringComparisonMode | stringComparisonMode | The type of comparison to use. |
bool | caseInsensitive | Pass |
string | left | The left String to compare. |
string | right | The right String to compare. |
Returns
Type | Description |
---|---|
bool |
|