pub fn parse_string(
    string: &str,
    type_: BrigadierStringType
) -> Result<(&str, usize), String>