System::Char::IsPunctuation method

Char::IsPunctuation(char_t) method

Determines whether the specified character is classified as a punctuation character.

static bool System::Char::IsPunctuation(char_t c)
ParameterTypeDescription
cchar_tThe character to test

ReturnValue

True if the specified character is a punctuation character, otherwise - false

See Also

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

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

static bool System::Char::IsPunctuation(const char_t *str, int idx)
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

ReturnValue

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

See Also