formatToParts