CorString: StartsWith |
Determines whether the beginning of a string matches the specified string when compared using the specified comparison option.
Public Function StartsWith( 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. |