StartsWithEx
Determines whether the beginning of this string instance matches the specified string when compared using the specified culture.
Public Function StartsWithEx(
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 beginning of s.
- 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 s parameter begins with Value; otherwise False.
See Also
Project CorLib Overview
Class CorString Overview