public static String cutPrefix(String string,String prefix){
  if (string.startsWith(prefix)) {
    string=string.substring(prefix.length());
  }
  return string;
}

public static String cutPrefix ( String string , String prefix ) { if ( string . startsWith ( prefix ) ) { string = string . substring ( prefix . length ( ) ) ; } return string ; }
cuts prefix if exists .
