The EXSLT Strings package provides functions that allow the manipulation of strings. The namespace for the Strings package is http://exslt.org/strings
.
- str:concat()
str:concat()
returns a string containing all the string values in a node-set concatenated together.- str:split()
str:split()
splits a string using a pattern string to determine where the splits should occur, returning a node-set containing the resulting strings.- str:tokenize()
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.
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
str:concat() | Chrome ? | Edge ? | Firefox Full support 3 | IE ? | Opera ? | Safari ? | WebView Android ? | Chrome Android ? | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android ? |
str:split() | Chrome ? | Edge ? | Firefox Full support 3 | IE ? | Opera ? | Safari ? | WebView Android ? | Chrome Android ? | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android ? |
str:tokenize() | Chrome ? | Edge ? | Firefox Full support 3 | IE ? | Opera ? | Safari ? | WebView Android ? | Chrome Android ? | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android ? |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown