bmel:substring¶
Category: String · Returns: bmel:string
bmel:substring(expr: bmel:string, start: bmel:integer, end: bmel:integer)
Description¶
Extracts characters from a string between start index (inclusive) and end index (exclusive).
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
expr | bmel:string | The source string. | |
start | bmel:integer | Zero-based start index (inclusive). | |
end | bmel:integer | Zero-based end index (exclusive). |
Example¶
bmel:substring({order:Response Payload}.$.order_ref, 0, 8)