WORDLENGTH WORDLENGTH 函数返回 string 中第 n个空白定界词的长度,如果 string中少于 n 个词,那么返回 0 。 WORDLENGTH( 字符串(string) , n ) n 必须是正整数。 示例 WORDLENGTH('Now is the time',2) -> 2 WORDLENGTH('Now comes the time',2) -> 5 WORDLENGTH('Now is the time',6) -> 0