String must be reversed before leading zeros are removed