Split a CSV-string to a pagelist in a Data Transform

In order to fill in the request information of a REST api, I need to transform a string of values (comma separated) into a pagelist.

so input would be Param.StringParam = “AAAA,BBBB,CCCC,…”

and in the request DT, I want to turn this into:

RequestData(1)

  • property X, value AAAA

RequestData(2)

  • property X, value BBBB

RequestData(3)

  • property X, value CCCC

Is there any OOTB tool to do this? In an activity I could run over the string and use WhatComesBefore to split the string into different parts, but in DT, this is no option…

@Joris Claus

try pxPageListFromStringCSV function. its OOTB