platform.tokenizeText
The 'tokenizeText' function splits a given text into a token list.
tokenizeText函数把文本解析分字
- Prototype: platform.tokenizeText(sTxt, sDelimiter);
- Parameters:
- sTxt: text to be tokenized;
文本源 - sDelimiter: a separator character; Defaults to a comma;
分隔符,默认为逗号
- sTxt: text to be tokenized;
- Return Value: the token list as a string;
- Example:
var sTokens=platform.tokenizeText(sTxt, '|');