Strings.isEqual(string1, string2); Strings.isEqual(string1, string2, caseSensitive=true);
Compare whether two strings are identical, optionally ignoring case.
It is intended for ASCII, the case-insensitive comparison is not guaranteed to work for UTF-8.
function isEqual extends Modelica.Icons.Function; input String string1; input String string2; input Boolean caseSensitive = true "= false, if lower and upper case are ignored for the comparison"; output Boolean identical "True, if string1 is identical to string2"; end isEqual;