IsWhiteSpace()

Char::IsWhiteSpace(const char_t *, int) method

Determines whether the character at the specified index in the specified character buffer is classified as a white space character.

static bool System::Char::IsWhiteSpace(const char_t *str, int idx)

Arguments

ParameterTypeDescription
strconst char_t *Pointer to the beginning of the character buffer
idxintA zero-based index in the specified buffer of the character to test

Return Value

True if the character at the specified index is a white space character, otherwise - false

Char::IsWhiteSpace(char_t) method

Determines whether the specified character is classified as a white space character.

static bool System::Char::IsWhiteSpace(char_t c)

Arguments

ParameterTypeDescription
cchar_tThe character to test

Return Value

True if the specified character is a white space character, otherwise - false

Char::IsWhiteSpace(const String&, int) method

Determines whether the character at the specified index in the specified string is classified as a white space character.

static bool System::Char::IsWhiteSpace(const String &str, int index)

Arguments

ParameterTypeDescription
strconst String&A string
indexintA zero-based index in the specified string

Return Value

True if the character at the specified index is a white space character, otherwise - false

See Also