split

  1. string[] split(string s, RegExp pattern)
  2. string[] split(string s, string pattern, string attributes)
    string[]
    split
    (
    string s
    ,
    string pattern
    ,
    string attributes = null
    )

Return Value

Type: string[]

Same as split(s, RegExp(pattern, attributes)).

WARNING:

This function is scheduled for deprecation due to unnecessary ambiguity with the homonym function in std.string. Instead of undead.regexp.split(s, p, a), you may want to use split(s, RegExp(p, a)).

Meta