Updated the greatest string.formatwith implementation