79248186

Date: 2024-12-03 15:25:34
Score: 1.5
Natty:
Report link

is it neccessary to stick with xml and xpath? What if you make an array from your input, then find the starting and the ending position of your string, then make an array of your result strings? (for example: "Data and Analytics|2024-09;2024-09-30;": you need the substring between 19th and 27th characters, and your result would be "2024-09" ).

Action steps of the flow

where:

  1. 'Apply to each':

    variables('varArray')

  2. 'Compose - Start':

    add(indexOf(item(),'|'),1)

  3. 'Compose - Length':

    substring(item(),outputs('Compose_-Start'),outputs('Compose-_Length'))

  4. Append to array variable:

    outputs('Compose')

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is it
  • Low reputation (0.5):
Posted by: Farkas János