14.5.2 String classes

Function: mbfl_string_is_alpha STRING
Function: mbfl_string_is_digit STRING
Function: mbfl_string_is_alnum STRING
Function: mbfl_string_is_noblank STRING
Function: mbfl_string_is_name STRING
Function: mbfl_string_is_identifier STRING
Function: mbfl_string_is_extended_identifier STRING
Function: mbfl_string_is_ascii_symbol STRING
Function: mbfl_string_is_lower_case_vowel STRING
Function: mbfl_string_is_lower_case_consonant STRING
Function: mbfl_string_is_lower_case_alphabet STRING
Function: mbfl_string_is_lower_case_alnumt STRING
Function: mbfl_string_is_lower_case_base16 STRING
Function: mbfl_string_is_upper_case_vowel STRING
Function: mbfl_string_is_upper_case_consonant STRING
Function: mbfl_string_is_upper_case_alphabet STRING
Function: mbfl_string_is_upper_case_alnumt STRING
Function: mbfl_string_is_upper_case_base16 STRING
Function: mbfl_string_is_mixed_case_vowel STRING
Function: mbfl_string_is_mixed_case_consonant STRING
Function: mbfl_string_is_mixed_case_alphabet STRING
Function: mbfl_string_is_mixed_case_alnumt STRING
Function: mbfl_string_is_mixed_case_base16 STRING
Function: mbfl_string_is_base32 STRING
Function: mbfl_string_is_base64 STRING
Function: mbfl_string_is_printable_ascii_noblank STRING

Return true if STRING is non–empty and the associated char function returns true for each character in STRING. As additional constraint:

  • mbfl_string_is_name() returns false if mbfl_string_is_digit() returns true when applied to the first character of STRING.
  • mbfl_string_is_identifier() and mbfl_string_is_extended_identifier() return false if mbfl_string_is_digit() returns true when applied to the first character of STRING or the first char of STRING is a dash.

This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.