Enhancement

- Implemented leftJustify, rightJustify for composing justified strings.
This commit is contained in:
Paul Beckingham 2011-04-29 00:49:05 -04:00
parent 9b85cb47ce
commit d0a91acf28
3 changed files with 26 additions and 1 deletions

View file

@ -66,6 +66,8 @@ std::string format (int);
std::string formatHex (int);
std::string format (float, int, int);
std::string format (double, int, int);
std::string leftJustify (const std::string&, const int);
std::string rightJustify (const std::string&, const int);
// UTF-8 aware.
int characters (const std::string&);