Difference between revisions of "NXSL:SplitString"

24 bytes added ,  18:13, 13 September 2022
m
Text replacement - "^" to "{{deprecated}}"
m (Text replacement - "^" to "{{deprecated}}")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Split string into array of strings at given separator.
Split string into array of strings at given separator.


Line 27: Line 27:
== Examples ==
== Examples ==


  format("a;b;c;d", ";") -> %("a", "b", "c", "d")
  SplitString("a;b;c;d", ";") -> %("a", "b", "c", "d")
  format("abcd", ";") -> %("abcd")
  SplitString("abcd", ";") -> %("abcd")