I am using Split, first & last to extract part of a string from one variable to set another variable.
- input from first variable named 'Content':
This is a test string
- the second variable, initializes with the following expression for the value.
First( Split( Last( Split(variables('Content'), '<' ) ).Result, '>' ) ).Result
The expected result is the string: test
Instead, the following error message is generated:
Unable to process template language expressions in action 'ATG_variable' inputs at line '1' and column '3380': 'The template language expression 'First( Split( Last( Split(variables('Content'), '<' ) ).Result, '>' ) ).Result' cannot be evaluated because property 'Result' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'.
Solved! Go to Solution.
Thank you for the quick reply.
I updated the function to the following and it worked as expected: