Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

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

Boolean

True when this text ends with the supplied suffix.

Remarks

The empty suffix matches. No normalization or culture rules.