functionscanNoToken
Scan string and check that it contains no more token
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
Strings.scanNoToken(string, startIndex=1, message="");
Description
Function scanNoToken scans the string starting at index "startIndex" and checks whether there is no more token in the string. An assert is triggered if this is not the case, using the "message" argument as additional explanation in the error text.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | string | String to be scanned | |
| Integer | startIndex | 1 | Start scanning of string at character startIndex |
| String | message | "" | Message used in error message if scan is not successful |