066. Do case-insensitive string comparisons by converting to lower case#

topic: Character variables

Note

This tip is a draft1.

Character variables are case-sensitive, and to compare two strings ignoring case you can first convert them to lower case.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.