<awangdev>Unique Word Abbreviation_1.java
private String convertToAbbr(String word) {

        if (word == null || word.length() <= 2) {
            return word;
        }
        return word.charAt(0) + String.valueOf(word.length() - 2) + word.charAt(word.length() - 1);
    }
private String var_0 ( String var_2 ) {
  if ( var_2 == null || var_2 . length ( ) <= 2 ) {
    return var_2 ;
  }
  return var_2 . charAt ( 0 ) + String . valueOf ( var_2 . length ( ) - 2 ) + var_2 . charAt ( var_2 . length ( ) - 1 ) ;
}
