Hey Everyone,
is it possible to nest string expressions?
I have one which I just seem to not be able to validate, They both work on there own, but when I try to nest them I can't get it to work.
Data: ["Alternative","Hip Hop","Rock"]
Expression 1: indexOf(outputs('Get_response_details')?['body/rf9d051bd49dd444fb731f2a2e4db56bc'],'Hip Hop')
(Looking to find the starting Index of the key word)
substring(outputs('Get_response_details')?['body/rf9d051bd49dd444fb731f2a2e4db56bc'],16,7)
(Get the word Hip Hop)
Nested expression that I want to create:
substring(outputs('Get_response_details')?['body/rf9d051bd49dd444fb731f2a2e4db56bc'],(indexOf(outputs('Get_response_details')?['body/rf9d051bd49dd444fb731f2a2e4db56bc'],'Hip Hop')),7)
I have many variables that I need to extract and present as clean text so ideally having a single function to perform both tasks would be great but not sure if its possible or just a syntax error,