.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 2021-04-18T01:03:03Z by OpenModelicaOpenModelica 1.18.0~dev-228-gf450566 using GenerateDoc.mos