Skip to main content

remove_get_params_and_separate_fragment

Function remove_get_params_and_separate_fragment 

Source
pub(crate) fn remove_get_params_and_separate_fragment(
    url: &str,
) -> (&str, Option<&str>)
Expand description

Remove all GET parameters from a URL and separates out the fragment. The link is not a URL but a String as it may not have a base domain.