Skip to content

starts_with

Signature

starts_with(string, string)

Description

Reports whether the input string begins with the provided string prefix argument.

Examples

starts_with('foobar', 'foo') == `true`
starts_with('foobar', 'bar') == `false`