Table of Contents

Method StartsWithCharacter

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

StartsWithCharacter(string, char)

Tests whether given string starts with given character.

public static bool StartsWithCharacter(this string s, char c)

Parameters

s string

String to test.

c char

Character to test for.

Returns

bool

Whether the supplied string starts with supplied character.