prepend
Summary
Returns the input string prepended with a custom sequence.
Usage
input|prepend( sequence )
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| sequence | string | The string that should be prepended. | Yes. |
Returns
A string consisting of the first parameter and the input string.
Description
This operator puts the "sequence" parameter at the start of the input string and returns the resulting string.
Examples
Example 1
{'Weaver'|prepend( 'Sigourney ')}The following string will be produced: "Sigourney Weaver".
Contributors
- Balazs Halasy Updated
Comments
Add a comment