cancel
Showing results for 
Search instead for 
Did you mean: 

JS . Concatenate and substring in same JS statement.

Former Member
0 Kudos

Hi,

I'm my conversion file I have a substring formula:

js: %external%.substring(2,6)

Now I also want to concatenate an "A" infront.

So for example - the value :

XX1234

Should look like this after my conversion:

A1234.

How can I achive this in my conversion file ?

Thank You,

Jdalby

Accepted Solutions (1)

Accepted Solutions (1)

krishna_priya1
Contributor
0 Kudos

Hi,

+ operator can be used for concatenation .


js: "A"+%external%.substring(2,6)

Hope this helps.

Former Member
0 Kudos

Hi pkrishnas,

works like a charm ! Thank you !

/Joergen

Answers (0)