How to read 1 single string A|B|C|D from Launch and split into 4 entries in evar

Avatar

Avatar

1982luca

Avatar

1982luca

1982luca

15-12-2020

Hello everyone,

 

How can I split this single string A|B|C|D from Launch into 4 differents entries?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

yuhuisg

MVP

Avatar

yuhuisg

MVP

yuhuisg
MVP

16-12-2020

The simplest is with custom code:

 

var str = "A|B|C|D";
var values = str.split("|");
// values = ["A", "B", "C", "D"]

 

 

Answers (1)

Answers (1)

Avatar

Avatar

yuhuisg

MVP

Avatar

yuhuisg

MVP

yuhuisg
MVP

16-12-2020

--