Subsequence In Java Using Numberformat