.KeyWordIO.Strings.findAll

Information

Find all indexes of 'subString' within 'string'

Interface

function findAll
  extends Modelica.Icons.Function;
  import Modelica.Utilities.Strings.find;
  import Modelica.Utilities.Strings.count;
  input String string "String that is analyzed";
  input String searchString "String that is searched for in string";
  input Boolean caseSensitive = true "= false, if lower and upper case are ignored for the search";
  output Integer index[count(string, searchString, 1, caseSensitive)] "Index of the beginning of the first occurrence of 'searchString' within 'string', or zero if not present";
end findAll;

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos