%dw 2.0
output application/json
---
[ "Mari" startsWith("Mar"), "Mari" startsWith("Em") ]
startsWith
startsWith(text: String, prefix: String): Boolean
Returns true
or false
depending on whether the input string starts with a
matching prefix.
startsWith
startsWith
This version of the product has entered Extended Support. You can switch to the latest version.
Returns true
or false
depending on whether the input string starts with a
matching prefix.