The comparison starts from the left side The comparison terminates either when a difference has been found or the end of the string has been reached if no difference is found the character strings are the same, otherwise terminates with the first encountered difference. Comparing character strings depends on the collating sequence of the machine used. The collating sequence must obey the following rules. Hence, a blank is always smaller than a digit or a letter. 5.4 Portability Issues Collating sequence is machine dependable.
More intrinsic functions are available.
Some of them are presented through the exercise sections. Re-write the following expressions using different logical operators .not.