From a7353164a339d29e3534b5534171175ee679a360 Mon Sep 17 00:00:00 2001 From: Thomas Keil Date: Tue, 1 May 2007 13:44:09 +0000 Subject: Added function ZeroPad to pad numbers with leading zeroes, e.g. 5 -> 05 --- tools.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 0779e8f..817e6f3 100644 --- a/tools.h +++ b/tools.h @@ -30,6 +30,7 @@ std::string StringWordTruncate(const std::string& input, size_t maxLen, bool& tr std::string StringEscapeAndBreak( std::string const& input ); std::string StringFormatBreak(std::string const& input); std::string StringTrim(const std::string& str); +std::string ZeroPad(int number); struct bad_lexical_cast: std::runtime_error { -- cgit v1.2.3