pure functionskipWhiteSpace

Scan white space

Extends from Modelica.Icons.Function (Icon for functions).

Information

Syntax

nextIndex = skipWhiteSpace(string, startIndex);

Description

Starts scanning of "string" at position "startIndex" and skips white space. The function returns nextIndex = index of character of the first non white space character.

See also

Strings.Advanced.

Inputs

TypeNameDefaultDescription
Stringstring
IntegerstartIndex1

Outputs

TypeNameDefaultDescription
IntegernextIndex