I really do not know what I wanted, but I'll show you:
example To:
$ data1 = "color is"; $ Data2 = "red";
What should I do (or process) so is the combination of $ result $ data1
and $ data2
?
Desired result:
$ result = "color is red";
$ result = $ data1 $ Data2;
This is called string containment. There is a lack of space in your example, so in particular you will need it:
$ result = $ data1 ''. $ Data2;
No comments:
Post a Comment