Transform asset (text) from orchestrator into array of strings?

Hello,

I need to have an array of strings where I put the email adresses for the people I want to send an email to.
I write the asset in orchestrator like this “email1;email2;email3;email4”

In the studio I get the asset in a string variable and then I tried to split them like this.

RECEIVERS_MAIL_ARRAY= RECEIVERS_MAIL.Split(“;c”)

where RECEIVERS_MAIL is the variable where I stored the asset and the RECEIVERS_MAIL_ARRAY is the array of strings.

I have this error "disallows implicit conversions from “String” to "Char:

What can I do?

RECEIVERS_MAIL_ARRAY= RECEIVERS_MAIL.Split(";"c)

Thank you, I was tired and didn’t see the error.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.