var link = 'https://thisIsAlink'
var line = 'this is a line'
what i have done is
var full_path = session.send(link + line)
The output i got :https://thisIsAlink this is a line
The output i want :https://thisIsAlinkthis is a line
var link = 'https://thisIsAlink'
var line = 'this is a line'
what i have done is
var full_path = session.send(link + line)
The output i got :https://thisIsAlink this is a line
The output i want :https://thisIsAlinkthis is a line
- 1 Having reread the question I realise that I got your desired and actual output backwards. There is no way that the code you provided will give the result you describe. The space can't appear from nowhere. – Quentin Commented Dec 8, 2017 at 10:42
- jsbin./sigocezesu/1/edit?js,console – Quentin Commented Dec 8, 2017 at 10:44
1 Answer
Reset to default 2Var1 = 'this sentence'
Var2 = 'new sentence'
Var2 += Var1
This output is : new sentencethis sentence
If you want just switch the contat and you get the opposite
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745274088a4619928.html
评论列表(0条)