When I want to compare to items case insensitive I usually lower case both string and then do a compare
Java has a function to compare to strings ignoring case and return an INT
Is it more effective to do then Java call rather then lower casing string all the time to compare?
Amazing that our String function does not have a CompareToIgnoreCase
#If JAVA
public int CompareToIgnoreCase(String S1, String S2) {
return S1.compareToIgnoreCase(S2);
}
#End If
Java has a function to compare to strings ignoring case and return an INT
Is it more effective to do then Java call rather then lower casing string all the time to compare?
Amazing that our String function does not have a CompareToIgnoreCase
#If JAVA
public int CompareToIgnoreCase(String S1, String S2) {
return S1.compareToIgnoreCase(S2);
}
#End If