.Modelica.Utilities.Strings.isEmpty

Information

Syntax

Strings.isEmpty(string);

Description

Returns true if the string has no characters or if the string consists only of white space characters. Otherwise, false is returned.

Example

  isEmpty("");       // returns true
  isEmpty("   ");    // returns true
  isEmpty("  abc");  // returns false
  isEmpty("a");      // returns false

Interface

function isEmpty
  extends Modelica.Icons.Function;
  input String string;
  output Boolean result "True, if string is empty";
end isEmpty;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39