Made padRight() and padLeft() more safe for invalid arguments.
Merge pull request #431 from Donnerbart/fixBrokenIssue427

Made padRight() and padLeft() more safe for invalid arguments.