bmel:concat¶
Category: String · Returns: bmel:string
Signature
bmel:concat(values...: bmel:any)
Description¶
Concatenates two or more values into a single string. Each value is coerced to string before joining.
Variadic function
Accepts a variable number of arguments of the same type.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
values ... | bmel:any | Two or more values to concatenate. |
Examples¶
Full name from two fields
bmel:concat({createOrder:Request Payload}.$.customer.first_name, ' ', {createOrder:Request Payload}.$.customer.last_name)
Composite key
bmel:concat({createOrder:Request Payload}.$.region, '-', {createOrder:Request Payload}.$.store_id, '-', {createOrder:Request Payload}.$.order_id)