I read in a text file and iterate over it line by line using a for-each loop. Inside the loop I have an "if statement" that needs to test if the current line of text starts with a specific string (see screenshot).
I thought that using:
=StartsWith(CurrentItem, "<slide")
was the correct way to write the "if condition" but that results in the error:
Invalid argument type (Record). Expecting a Text value instead.
What is the correct way to refer to the text in CurrentItem within the StartsWith() function? TIA!
