StringSegmentComparerFromComparison Method

Gets a StringSegmentComparer instance based on the specified comparison.
Please note that the returned StringSegmentComparer may allocate new strings in some cases. See the description of the properties for more details.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public static StringSegmentComparer FromComparison(
	StringComparison comparison
)

Parameters

comparison  StringComparison
A StringComparison value from which a StringSegmentComparer is about to be obtained.

Return Value

StringSegmentComparer
A StringSegmentComparer instance representing the equivalent value of the specified comparison instance.

See Also