StringEndsWith Method (String) |
Determines whether the end of this string instance matches the specified string.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public bool EndsWith(
string value
)
Parameters
- value
- Type: SystemString
The string to compare to the substring at the end of this instance.
Return Value
Type:
Booleantrue if
value matches the end of this instance; otherwise, false.
Exceptions See Also