Remove spaces in API data before being passed to different api call

Hi all

I have two API calls that are working together. The first returns a list of ID #s and the second takes those #s and returns a list of names.

My problem is that the 2nd API wants the I’d #s in a comma separated list with NO spaces. Of course that’s how the first API presents it’s returns.

Anyone have an idea of how to solve this problem? I’d like to do it in a big batch like this so I can sort.

Did you try to use :join with (",")?



1 Like