Fixed wrong set of chars in IDFormatString sub-routine