public static String suffix(String string,String suffix){
  if (string.endsWith(suffix) == false) {
    string+=suffix;
  }
  return string;
}

public static String suffix ( String string , String suffix ) { if ( string . endsWith ( suffix ) == false ) { string += suffix ; } return string ; }
appends suffix if doesn ' t exist .
