0

What means concat in function? Dont remember to see that in lessons at all..

23rd Dec 2016, 1:25 PM
Wolfinho
5 Antworten
0
if you have to strings, lets say x = "foo"; y = "bar"; use x.concat(y); to chain them together and get "foobar". this function just takes the string you called it on (x) and adds the value of the second string (y) and returns it.
23rd Dec 2016, 2:03 PM
qobus
0
it means the result would be foobar?
23rd Dec 2016, 2:07 PM
Wolfinho
0
correct. check out my codes for an example
23rd Dec 2016, 2:10 PM
qobus
0
thanks. and where i can find them?
23rd Dec 2016, 2:15 PM
Wolfinho
0
go to my profile -> codes. you can go to an users profile when you click the colored circle on the right side of a post
23rd Dec 2016, 2:17 PM
qobus