WOLFRAM SYSTEM MODELER
isEmptyReturn true if a string is empty (has only white space characters) |
|
SystemModel["Modelica.Utilities.Strings.isEmpty"]

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. It is intended for ASCII, white space in UTF-8 is more complicated.
isEmpty(""); // returns true
isEmpty(" "); // returns true
isEmpty(" abc"); // returns false
isEmpty("a"); // returns false
result = isEmpty(string)
| string |
Type: String |
|---|
| result |
Type: Boolean Description: True, if string is empty |
|---|