public String concat(String string){
  if (string.count > 0 && count > 0) {
    char[] buffer=new char[count + string.count];
    System.arraycopy(value,offset,buffer,0,count);
    System.arraycopy(string.value,string.offset,buffer,count,string.count);
    return new String(0,buffer.length,buffer);
  }
  return count == 0 ? string : this;
}

public String concat ( String string ) { if ( string . count > 0 && count > 0 ) { char [ ] buffer = new char [ count + string . count ] ; System . arraycopy ( value , offset , buffer , 0 , count ) ; System . arraycopy ( string . value , string . offset , buffer , count , string . count ) ; return new String ( 0 , buffer . length , buffer ) ; } return count == 0 ? string : this ; }
concatenates this string and the specified string .
