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

◆ is_control() [2/2]

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

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

Parameters
sA string.
indexThe position of the character to evaluate in s.
Returns
true if the character at position index in s is a control character; otherwise, false.
Exceptions
xtd::argument_out_of_range_exceptionindex is greater than the last position in s.