Skip to main content

extract_value_for_key

Function extract_value_for_key 

Source
pub fn extract_value_for_key(
    source: &str,
    key: &str,
    separator: char,
) -> Option<String>
Expand description

Extracts one separator-delimited key/value with URL decoding.

§Parameters

§Returns

Returns Some when crate::runtime::business::extract_value_for_key can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::business::extract_value_for_key.

§Examples

ⓘ
let _result = pharos_native::runtime::business::extract_value_for_key(todo!(), "key", todo!());