Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

String.EndsWith Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the end of this string instance matches a specified string.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

Name Description
System_CAPS_pubmethod EndsWith(String)

Determines whether the end of this string instance matches the specified string.

System_CAPS_pubmethod EndsWith(String, Boolean, CultureInfo)

Determines whether the end of this string instance matches the specified string when compared using the specified culture.

System_CAPS_pubmethod EndsWith(String, StringComparison)

Determines whether the end of this string instance matches the specified string when compared using the specified comparison option.

Return to top