例如,我需要NSString至少有8个字符...除了使用循环在其左侧添加填充空格之外,是否有其他方法可以做到这一点?
Examples:
Input: |Output:
Hello | Hello
Bye | Bye
Very Long |Very Long
abc | abc