.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-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos