Skip to main content

split_roman_prefix

Function split_roman_prefix 

Source
pub fn split_roman_prefix(value: &str) -> Result<(&str, &str)>
Expand description

Splits the leading roman numeral off a figure, returning the numeral and what follows it. Errors when the value does not begin with one.