starts_with
Checks if a string starts with a specified substring.
starts_with(x:string, prefix:string) -> bool
Description
Section titled “Description”The starts_with
function returns true
if x
starts with prefix
and
false
otherwise.
Examples
Section titled “Examples”Check if a string starts with a substring
Section titled “Check if a string starts with a substring”from {x: "hello".starts_with("he")}
{x: true}