Replace , by /n from an array

Hi guys,

I’ve got this an array like this

[
“LAP-CH-095-WIN”,
“LAP-CH-301-WIN”,
“LAP-CH-357-WIN”,
“LAP-CH-348-WIN”,
“LAP-CH-363-WIN”,
“LAP-CH-367-WIN”,
“LAP-CH-368-WIN”,
“LAP-CH-377-WIN”,
“LAP-ES-001-WIN”,
“LAP-CH-382-WIN”,
]

Then he’s sent to google chat but the message appears like this

List of Unencrypted Devices:
DES-CH-108-LIN,LAP-DE-007-LIN,DES-CH-122-LIN,LAP-CH-225-MAC.local,DES-CH-135-LIN,lap-ch-317-mac.home,LAP-CH-365-MAC.local,LAP-CH-376-MAC,Pix4D-Zita-Mac.local,DES-CH-354-LIN,LAP-CH-372-MAC-2.local

and I would like something like this

List of Unencrypted Devices:
DES-CH-108-LIN
LAP-DE-007-LIN
DES-CH-122-LIN
LAP-CH-225-MAC.local
DES-CH-135-LIN

Can you please help me.

Thanks

Hey @killride ,
using your sample data array I used the Set Node

with this expression

image

Example Workflow

1 Like

Thanks Marcus,

I was sure it was easy to do. works like a charm much appreciated.

Best

1 Like