String tools
strtools is a collection of string related utilities, not provided by standart
library. Especially useful when your project deals with lot of manipulations
around String or &str
Pads a string with zeros, resulted string would be in length given in second argument
Examples
let str = Stringfrom;
let padded_string = pad;
assert_eq!;
Panics
When length of given string is bigger than the wanted to be length, program panics: