I want to format always-11-digit integer number to format "123-456-789 12". Is there library method to do this?
EDIT: May be I can group 3 numbers with:
DecimalFormatSymbols decimalFormatSymbols = new DecimalFormatSymbols();
decimalFormatSymbols.setGroupingSeparator('-');
DecimalFormat decimalFormat = new DecimalFormat("000,000,000.00", decimalFormatSymbols);
But I can't separate two first digit with space (where '.' is now)