platform.tokenizeText

The 'tokenizeText' function splits a given text into a token list.
tokenizeText函数把文本解析分字

  • Prototype: platform.tokenizeText(sTxt, sDelimiter);
  • Parameters:
    1. sTxt: text to be tokenized;
      文本源
    2. sDelimiter: a separator character; Defaults to a comma;
      分隔符,默认为逗号
  • Return Value: the token list as a string;
  • Example:
    var sTokens=platform.tokenizeText(sTxt, '|');