| CorString: EndsWith |
Determines whether the end of a string matches the specified string when compared using the specified comparison option.
Public Function EndsWith( ByRef s As String, ByRef Value As String, Optional ByVal ComparisonType As StringComparison = StringComparison. Ordinal ) As Boolean
Default: StringComparison . Ordinal
| Exception | Condition |
|---|---|
| ArgumentException | ComparisonType is not a StringComparison value. |