Changed format() method to output empty string if input is null or blank (except that value is still passed to the delegate method for processing).