%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
Returns true
or false
depending on whether the input string starts with a
matching prefix.