Divide a String Into Groups of Size k

把一个字符串分割成k组, 如果不满k,就用fill字符补.