startsWith
Tells whether the text begins with the given text.
Details #
startsWith(text, prefix) takes exactly two arguments and returns true or false. It is case-sensitive. Non-text values are turned into text first.
Parameters #
Takes 2 arguments.
{{ startsWith(text, b) }}
Examples #
startsWith("https://example.com", "https://")→
truestartsWith(name, "Dr. ")→
true| Sample variable | Value |
|---|---|
name | Dr. Who |