title: Functions/FunctionResolutionInSubstitute description: Functions should resolve correctly in the substitute operator type: text/vnd.tiddlywiki-multiple tags: [[$:/tags/wiki-test-spec]] title: Output \whitespace trim \function getIndex() [add[1]] \procedure template-with-var() $(getIndex)$ \procedure template-with-filteredexpression() ${ [] }$ \function test-with-substitute-variable() [[abc]split[]] :map[substitute[]] :and[join[ / ]] \end \function test-with-substitute-filteredexpression() [[abc]split[]] :map[substitute[]] :and[join[ / ]] \end \function test-with-function() [[abc]split[]] :map[function[getIndex]substitute[]] :and[join[ / ]] \end <>| <>| <> + title: ExpectedResult

1 / 2 / 3|1 / 2 / 3|1 / 2 / 3