public java.lang.String concat(java.lang.String str){
  char[] n=new char[length() + str.length()];
  System.arraycopy(value,offset,n,0,count);
  System.arraycopy(str.value,str.offset,n,count,str.count);
  return new String(n);
}

public java . lang . String concat ( java . lang . String str ) { char [ ] n = new char [ length ( ) + str . length ( ) ] ; System . arraycopy ( value , offset , n , 0 , count ) ; System . arraycopy ( str . value , str . offset , n , count , str . count ) ; return new String ( n ) ; }
concatenates the specified string to the end of this string . if the length of the argument string is 0 , then this string object is returned . otherwise , a new string object is created , representing a character sequence that is the concatenation of the character sequence represented by this string object and the character sequence represented by the argument string . examples : " cares " . concat ( " s " ) returns " caress " " to " . concat ( " get " ) . concat ( " her " ) returns " together "
