Skip to main content

split

Function split 

Source
pub fn split(line: &str) -> Vec<String>
Expand description

Split a command line into tokens, honoring '…', "…", and \ escapes.

Unterminated quotes are tolerated (the partial token is still emitted), so a malformed line never panics or loses data.