If the index of the current letter is equal to the length of the string, this variable is an empty string.
如果当前字母的下标和字符串的长度相等,那么这个变量是一个空字符串。
If the index of the current letter is less than the length of the string, you invoke your named template again, passing the original string and incrementing the index by 1.
如果当前字母的下标小于字符串的长度,则再次调用已命名的模板,传递原始字符串并把下标加1。
Reads the contents of the current node into a string with a given maximum length.
将当前节点的内容读入具有最大给定长度的字符串。
The current implementation preserves the length of the string.
当前实现会保留字符串的长度。
Returns a new string of a specified length in which the beginning of the current string is padded with Spaces or with a specified Unicode character.
传回新字串,此字串会以空格填补左侧至指定的总长度,靠右对齐这个执行个体中的字元。
Returns a new string of a specified length in which the end of the current string is padded with Spaces or with a specified Unicode character.
返回一个新字符串,该字符串通过在此字符串中的字符右侧填充空格来达到指定的总长度,从而使这些字符左对齐。
Returns a new string of a specified length in which the end of the current string is padded with Spaces or with a specified Unicode character.
返回一个新字符串,该字符串通过在此字符串中的字符右侧填充空格来达到指定的总长度,从而使这些字符左对齐。
应用推荐