# startswith

    .startswith string:{String} \
                prefix:{String} \
            ignorecase:{Boolean = false}
    -> Boolean

Content copied to clipboard

Checks if a string starts with a given prefix.

#### Return

`true` if the string starts with the prefix, `false` otherwise

#### Parameters

string

string to check

prefix

prefix to check for

ignorecase

- Optional

whether to ignore case when checking

#### Chaining

This function is designed to be chained with other function calls:

    String::startswith prefix:{String} \
            ignorecase:{Boolean}
    -> Boolean

Content copied to clipboard