in column B I have a string divided by the "|" delimiter. One and only one of the parts inside each "|" contains the word "Above".
In the example I shared the part inside "|" that contains the word "Above" is string5, because there are 4 "|" before it + 2 "|" after it.
meaning:
I want a formula to get the answer string5
Would love to get your help.
Here the solution, credit to @JvdVL: =TRIM(MID(SUBSTITUTE([@[Image URL]],"|",REPT(" ",LEN([@[Image URL]]))),(LEN(LEFT([@[Image Caption]],FIND("Above",[@[Image Caption]])-1))-LEN(SUBSTITUTE(LEFT([@[Image Caption]],FIND("Above",[@[Image Caption]])-1),"|","")))*LEN([@[Image URL]])+1,LEN([@[Image URL]])))