2 ms·
I'm assuming "formatting" means "inserting hyphens in the correct place". Based on the examples in that Wikipedia page, it looks like the correct rule is to in
by teraflop 8y ago
I'm assuming "formatting" means "inserting hyphens in the correct place".
Based on the examples in that Wikipedia page, it looks like the correct rule is to insert a hyphen between a letter and a digit that are adjacent, or in the middle of a group of 4 letters or 4 digits. But maybe there are other edge cases where that fails.