Use this method to compare a string to an object that represents a string or an ID. equalsIgnoreCase(secondString) Returns true if the secondString is not null and represents the same sequence of characters as the String that called the method, ignoring case.
How do I ignore a case in Salesforce?
Use this method to compare a string to an object that represents a string or an ID. equalsIgnoreCase(secondString) Returns true if the secondString is not null and represents the same sequence of characters as the String that called the method, ignoring case.