xtd 0.2.0
Loading...
Searching...
No Matches

◆ is_punctuation() [2/2]

template<typename type_t >
static bool xtd::box_char< type_t >::is_punctuation ( const string s,
size_t  index 
)
inlinestatic

Indicates whether the character at the specified position in a specified string is categorized as a punctuation mark.

Parameters
sA string.
indexThe position of the character to evaluate in s.
Returns
true if the character at position index in s is categorized as a punctuation mark.
Exceptions
xtd::argument_out_of_range_exceptionindex is greater than the last position in s.