String.concat()
Signature
String concat (String s1, String s2)
Domain
action, condition, query
Description
Concatenates the two argument strings and returns the resulting String.
Parameters
Name | Type | Description |
s1 | String | A String to concatenate. |
s2 | String | A second String to concatenate. |
Returns
Type | Description |
String | The result of concatenating the two argument strings. |
Example
String result = String.concat ("This is a test", " of concatenation");
Result is:
result contains: "this is a test of concatenation".