String connection

Nov 28, 2012 at 1:36pm
how to add up to strings let's say i have string1="Hello " and string2="World!"

what should i do to 'connect' them?
Nov 28, 2012 at 1:45pm
closed account (3qX21hU5)
string3 = string1 + string2;
Last edited on Nov 28, 2012 at 1:47pm
Nov 28, 2012 at 1:45pm
string1 + string 2

or append, if those are c-strings
Last edited on Nov 28, 2012 at 1:45pm
Topic archived. No new replies allowed.