Method IsWhitespace
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
chcharThe 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
sstringThe string in which character should be tested.
posintThe index of character in the specific string.
Returns
- bool
True if specified character is whitespace; otherwise false.