A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.primitives.stringsegment.endswith below:

StringSegment.EndsWith(String, StringComparison) Method (Microsoft.Extensions.Primitives) | Microsoft Learn

StringSegment.EndsWith(String, StringComparison) Method Definition

Checks if the end of this StringSegment matches the specified String when compared using the specified comparisonType.

public:
 bool EndsWith(System::String ^ text, StringComparison comparisonType);
public bool EndsWith(string text, StringComparison comparisonType);
member this.EndsWith : string * StringComparison -> bool
Public Function EndsWith (text As String, comparisonType As StringComparison) As Boolean
Parameters
comparisonType
StringComparison

One of the enumeration values that specifies the rules to use in the comparison.

Returns

true if text matches the end of this StringSegment; otherwise, false.

Exceptions

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4