startswith

startswith(source: text, pattern: text) 🡒 boolean, const pure function

Returns true if the source starts with an occurrence of the pattern.

source = "Hello World!"
show summary "" a1c2 with
  startswith(source, "hello") as "Starts with hello"
  startswith(source, "Hello") as "Starts with Hello"

See also