Comparing two string means to compare one by one their characters by starting from the first (the leftmost), until either two different characters are found, or the end of one of the two strings is reached.
Two strings are considered equal if they consist of the same characters in the same sequence. If two different characters are found in a corresponding position, the relationship between these two characters determines the relationship between the strings.
A character is considered “less” than another character if it precedes it in the ASCII character table. A string is considered “less” than another if the first different character is “less” than the corresponding character in the other string. If the first characters of the longest string are exactly the same as the shortest string, the longest string is always considered greater. Notice that the result of character comparison for characters with ASCII code greater than 128 can depend on the operating system. These characters can assume different values on different systems.
The simplest method to compare two Biferno strings is to use logical operators. Using logical operators the comparison is case sensitive, i.e. the two strings “sun” and “Sun” are considered different.