[][src]Function shtring::split

pub fn split(input: &str) -> Result<Vec<&str>, Error<'_>>

Split a given input string into arguments, returning the first encountered error, if any. There may be valid arguments after the erroneous one; if they are desired, use the Parser directly. See the crate-level documentation for an example use.