In the following workflow I want to return part of a string, for example:
- define:
assign:
- value: foobar
- returnValue:
return: ${value}
This would return foobar
how would I return just foo
?
In the following workflow I want to return part of a string, for example:
- define:
assign:
- value: foobar
- returnValue:
return: ${value}
This would return foobar
how would I return just foo
?
This feature is now supported under the text library.
You can get part of the string using
${text.substring(value), 0, 3}