Skip to main content

utf8_prefix

Function utf8_prefix 

Source
pub fn utf8_prefix(value: &str, limit: usize) -> &str
Expand description

Return the longest prefix within the byte budget.