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