Share via


String.concat

Class Overview | Class Members | This Package | All Packages

Syntax

public String concat( String str )

Parameters
  • str
    the String that is concatenated to the end of this String.
Returns

a string that represents the concatenation of this object's characters followed by the string argument's characters.

Description

Concatenates the specified string to the end of this string.

If the length of the argument string is 0, then this object is returned.