CorString: EndsWithEx

EndsWithEx

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



 Public Function EndsWithEx(
	  ByRef s As String,
	  ByRef Value As String,
	  ByVal IgnoreCase As Boolean,
	  ByVal Culture As CultureInfo ) As Boolean

Parameters

s
[ByRef] String. The string to check.
Value
[ByRef] String. The string to compare to the substring at the end of the s parameter.
IgnoreCase
[ByVal] Boolean. True to ignore case during comparison; otherwise False.
Culture
[ByVal] CultureInfo. Cultural information that determines how s and Value are compared. If Culture is Nothing, the current culture is used.

Return Values

Boolean -  True if the Value parameter matches the end of s; otherwise False.

See Also

Project CorLib Overview

Class CorString Overview