Path: blob/main/files/en-us/web/exslt/str/tokenize/index.md
6552 views
------{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
str:tokenize() splits a string using a set of characters as delimiters that determine where the splits should occur, returning a node-set containing the resulting strings.
Syntax
Parameters
string: The string to tokenize.
delimiters: Each character in this string is used as a word separator while tokenizing.
Returns
A node-set of token elements, each containing one token from the string.
Example
Returns a node set like this: