bmel:contains¶
Category: String · Returns: bmel:boolean
bmel:contains(expr: bmel:string, str: bmel:string)
Description¶
Returns true if the expression contains the specified substring.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
expr | bmel:string | ✅ | The string to search within. |
str | bmel:string | ✅ | The substring to search for. |
Example¶
bmel:contains({order:Response Payload}.$.status, "ERROR")