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

API Browser

Method

ContainsOrdinal

func ContainsOrdinal(substring: string) -> bool

Declaring type: String
Module: System
Assembly: System.Runtime.dll
Source file: String.rvn

Tests for an exact substring.

Parameters

Name Type Description
substring String Substring to find.

Return value

Boolean

True when the text contains the supplied text.

Remarks

The empty substring matches. Matching does not require grapheme boundaries.