Inconsistent printing on a dot matrix display

strcmp()

strcmp() function in Arduino is used to compare two C-style strings (character arrays)