Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EndsWith Method
Collapse the table of content
Expand the table of content

String.EndsWith Method

Determines whether the end of an instance of String matches a specified string.

Name Description
String.EndsWith (String) Determines whether the end of this instance matches the specified string.

Supported by the .NET Compact Framework.

String.EndsWith (String, StringComparison) Determines whether the end of this string matches the specified string when compared using the specified comparison option.

Supported by the .NET Compact Framework.

String.EndsWith (String, Boolean, CultureInfo) Determines whether the end of this string matches the specified string when compared using the specified culture.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft