Combine two strings: rephrase
String |
The concat() method joins (concatenates) a string to the end of another string.
public |
|
Parameter |
Description |
|
string2 |
A string that represents the text to be added to another string. |
|
Returns |
A string that represents the combined text from both strings. |