convert number to words in ordinal format and append
str += convert_to_words ( String . valueOf ( ind ) . toCharArray ( ) ) + " , ▁ " ; System . out . print ( ind + " , ▁ " ) ; } if ( n == 0 ) break ; } }