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

TypeNameDefaultDescription
StringstringString to be scanned
IntegerstartIndex1Start scanning of string at character startIndex
Stringmessage""Message used in error message if scan is not successful