isEmptyReturn true if a string is empty (has only white space characters) |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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
string |
Type: String |
---|
result |
Type: Boolean Description: True, if string is empty |
---|