void remove(String inputFragmentStr,String formatFragment){
  if (inputFragmentStr != null && inputStr.length() >= inputFragmentStr.length()) {
    inputStr=inputStr.substring(inputFragmentStr.length());
  }
  if (formatFragment != null && formatStr.length() >= formatFragment.length()) {
    formatStr=formatStr.substring(formatFragment.length());
  }
}

void remove ( String inputFragmentStr , String formatFragment ) { if ( inputFragmentStr != null && inputStr . length ( ) >= inputFragmentStr . length ( ) ) { inputStr = inputStr . substring ( inputFragmentStr . length ( ) ) ; } if ( formatFragment != null && formatStr . length ( ) >= formatFragment . length ( ) ) { formatStr = formatStr . substring ( formatFragment . length ( ) ) ; } }
remove a token from a string .
