skipWhiteSpace

Scan white space

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Syntax

nextIndex = skipWhiteSpace(string, startIndex)

Inputs (2)

string

Type: String

startIndex

Default Value: 1

Type: Integer

Outputs (1)

nextIndex

Type: Integer