The length is the number of characters, not the number of bytes. E.g. with s="abcd", m=10 and c="X" the result should be "XXXabcdXXX".
確定! 回上一頁