.Modelica.Utilities.Strings.isEqual

Determine whether two strings are identical

Information

Syntax

Strings.isEqual(string1, string2);
Strings.isEqual(string1, string2, caseSensitive=true);

Description

Compare whether two strings are identical, optionally ignoring case.

Interface

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;

Generated at 2025-03-05T19:25:09Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos