The character-based string functions can be used to solve the problem of getting the length of string in terms of CODEUNITS.
使用基于字符的字符串函数可以解决获取基于CODEUNITS的字符串长度时的问题。
Note: If length is larger than the length of string, the entire string will be returned as the only element of the array.
注意点:如果长度大于字符串长度,那么整个字符串将以单独的元素返回。
Note: If length is larger than the length of string, the entire string will be returned as the only element of the array.
注意点:如果长度大于字符串长度,那么整个字符串将以单独的元素返回。
应用推荐