Function rustarium::parsing::split_command [] [src]

pub fn split_command(message: String) -> (String, String)

Split a message into two parts: A command, and its parameters.

A single trailing space after the command is removed, if present. Singleton commands will return an empty string "" for the parameters.