StringSegmentContains(ReadOnlySpanChar, StringComparison) Method
Checks whether this
StringSegment contains the specified
value using the specified
comparison.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public bool Contains(
ReadOnlySpan<char> value,
StringComparison comparison
)
Public Function Contains (
value As ReadOnlySpan(Of Char),
comparison As StringComparison
) As Boolean
public:
bool Contains(
ReadOnlySpan<wchar_t> value,
StringComparison comparison
)
member Contains :
value : ReadOnlySpan<char> *
comparison : StringComparison -> bool
- value ReadOnlySpanChar
- The StringSegment to seek.
- comparison StringComparison
- A StringComparison value that specified the rules for the search.
Boolean if this
StringSegment contains the specified
value; otherwise,
.