Concatenate strings with a space separating each of them.
String |
The join() method combines one or more strings using a designated separator.
One of the following:
public |
public |
|
Parameter |
Description |
|
seperator |
Mandatory. The delimiter utilized for joining the elements. |
|
elements |
Necessary. Elements that will be combined. |
|
Returns |
A fresh string, segmented by the provided separator. |
|
Java Version |
1.8 |