touchgfx::Unicode::strncmp_ignore_white_spaces() method
@fn static int Unicode::strncmp_ignore_white_spaces(const UnicodeChar* RESTRICT str1, const UnicodeChar* RESTRICT str2, uint16_t maxchars); Like strncmp except that ignore any spaces in the two strings. Like strncmp except that ignore any spaces in the two strings.
Arguments
str1
The first string.
str2
The second string.
maxchars
The maximum number of chars to compare.
Return value
Returns an integral value indicating the relationship between the strings: A zero value indicates that the characters compared in both strings are all equal. A value greater than zero indicates that the first character that does not match has a greater value in str1 than in str2; And a value less than zero indicates the opposite.