1.update for String method
2.support no padding