Table of Contents

Method Contains

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

Contains(string, params char[])

Checks whether this string contains given characters.

public static bool Contains(this string str, params char[] characters)

Parameters

str string

String to check.

characters char[]

Characters to check for.

Returns

bool

Whether the string contained these characters.