split

Function split 

Source
pub fn split(params: &[Value]) -> NativeResult
Expand description

Splits a Value::String into a Value::Array according to a separator.

  • Declaration: split(line: String, separator: String): Array<String>

ยงErrors

Will return NativeError::WrongParameterCount if there is a mismatch in the supplied parameters. Will return NativeError::WrongParameterType if the the supplied parameters have the wrong type.