Group upper case characters
if ( temp [ i ] >= ( ' A ' ) && temp [ i ] <= ( ' Z ' ) ) { while ( i < len && temp [ i ] >= ( ' A ' ) && temp [ i ] <= ( ' Z ' ) ) { ans = ans + temp [ i ] ; i ++ ; } ans = ans + " ▁ " ; }