Skip to content

skipWhiteSpace under-documented #3820

Open
@DagBruck

Description

@DagBruck

The function Modelica.Utilities.Strings.Advanced.skipWhiteSpace appears to be under-documented. The cases I have found are:

  1. What does it return when the given string contains only whitespace or is an empty string?
  2. What does it return if the start index is greater than the string length.

Here are three test cases.

Modelica.Utilities.Strings.Advanced.skipWhiteSpace("")
Modelica.Utilities.Strings.Advanced.skipWhiteSpace("  ")
Modelica.Utilities.Strings.Advanced.skipWhiteSpace(" a ", 700)

Metadata

Metadata

Assignees

No one assigned

    Labels

    L: UtilitiesIssue addresses Modelica.UtilitiesdocumentationIssue addresses the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions