functionfindAll
Find all indexes of 'subString' within 'string'
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | string | String that is analyzed | |
| String | searchString | String that is searched for in string | |
| Boolean | caseSensitive | true | = false, if lower and upper case are ignored for the search |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[count(string, searchString, 1, caseSensitive)] | index | Index of the beginning of the first occurrence of 'searchString' within 'string', or zero if not present |