String replace(String text,String replacement){
  int pos=getInt(0,text.length() - replacement.length());
  StringBuilder buffer=new StringBuilder(text);
  buffer.replace(pos,pos + 7,replacement);
  return buffer.toString();
}

String replace ( String text , String replacement ) { int pos = getInt ( 0 , text . length ( ) - replacement . length ( ) ) ; StringBuilder buffer = new StringBuilder ( text ) ; buffer . replace ( pos , pos + 7 , replacement ) ; return buffer . toString ( ) ; }
replace a random part of the string with another text .
