Method
StartsWithOrdinal
func StartsWithOrdinal(prefix: string) -> bool
Declaring type: String
Module: System
Assembly: System.Runtime.dll
Source file: String.rvn
Tests for an exact text prefix.
Parameters
| Name | Type | Description |
|---|---|---|
prefix |
String | Prefix to find. |
Return value
True when this text starts with the supplied prefix.
Remarks
The empty prefix matches. No normalization or culture rules.