arvindnsn
3 years agoContributor
Add single quotes in comma separated string
Hello,
I have a scenario where the location name will come in 2 different scenarios from an API as mentioned below.
- LOC1
- LOC1, LOC2, LOC3
The expected output should be
- ‘LOC1’
- ‘LOC1’, ‘LOC2’, ‘LOC3’
I tried using the split and replace function but in vain. Appreciate any help provided here
Thanks
Aravind N
With this expression, you should be able to make it work.
pipeline:
Test_Expression_2023_06_17 (1).slp (3.5 KB)Let me know if that helps.
🙂Cheers,