StringSegmentContains(StringSegment, StringComparison) Method

Checks whether this StringSegment contains the specified value using the specified comparison.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public bool Contains(
	StringSegment value,
	StringComparison comparison
)

Parameters

value  StringSegment
The StringSegment to seek.
comparison  StringComparison
A StringComparison value that specified the rules for the search.

Return Value

Boolean
if this StringSegment contains the specified value; otherwise, .

See Also