Skip to content

StartsWith Operator

Martin Danielsson edited this page Jul 23, 2015 · 2 revisions

Checks whether haystack starts with needle, returns a boolean value. This operator ignores the case.

What Type
Syntax StartsWith(haystack, needle)
haystack string
needle string
Return type bool

Example: StartsWith($lastName, "M")

Clone this wiki locally