Skip to main content

substring_before

Function substring_before 

Source
pub fn substring_before(
    s: &str,
    separator: &str,
) -> Result<JValue, FunctionError>
Expand description

$substringBefore(str, separator) - Get substring before separator