oa_gateway_owp::codec

Function tokenize

Source
fn tokenize(s: &str, max: usize) -> Vec<&str>
Expand description

Up to max tokens. Leftover text after max is dropped, so the caller must treat len == max as “maybe more” when extra fields are illegal.