Table of Contents

Method IsWhitespace

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

IsWhitespace(char)

Indicates whether the character at the specific position of the string collection is a whitespace character.

public static bool IsWhitespace(char ch)

Parameters

ch char

The character to check.

Returns

bool

True if specified character is whitespace; otherwise false.

IsWhitespace(string, int)

Indicates whether the character at the specific position of the string collection is a whitespace character.

public virtual bool IsWhitespace(string s, int pos)

Parameters

s string

The string in which character should be tested.

pos int

The index of character in the specific string.

Returns

bool

True if specified character is whitespace; otherwise false.