Table of Contents

Method ContainsChar

Namespace
Alternet.UI.Extensions
Assembly
Alternet.UI.Common.dll

ContainsChar(string, char)

Reports whether the specified Unicode character is found in the string.

public static bool ContainsChar(this string s, char ch)

Parameters

s string

String to check.

ch char

A Unicode character to seek.

Returns

bool

true if that character is found, or false if it is not.