String-before() and string-after() function support

Hi @Snehaniranjana,

The position() function is typically used for finding the index/counter of a repeat group (see here), but won't help for what we're wanting to achieve here.

Regards,
Andrew