Concatenate strings
Posted: Sat Mar 12, 2016 12:38 pm
I need to combine more than 2 variables:
How do you properly concatenate multiple variables and /or strings?
Thanks!
Code: Select all
let x = "alpha"
let y = "bravo"
let z = "charlie"
let n = x & y --> works as expected n=alphabravo
let n = x & y & z --> does not work n = alphabravo not n=alphabravocharlie as expected
let n= x & y & "Some string" -> does not work either
How do you properly concatenate multiple variables and /or strings?
Thanks!