Strings.isEmpty(string);
Returns true if the string has no characters or if the string consists only of white space characters. Otherwise, false is returned.
isEmpty(""); // returns true isEmpty(" "); // returns true isEmpty(" abc"); // returns false isEmpty("a"); // returns false
function isEmpty extends Modelica.Icons.Function; input String string; output Boolean result "True, if string is empty"; end isEmpty;