extract_all_text_between

Function extract_all_text_between 

pub fn extract_all_text_between(
    content: &str,
    start: &str,
    end: &str,
) -> Vec<String>
Expand description

Extract content between tags for all occurrences

Returns a vector of strings containing the text between each occurrence of the tags.

§Arguments

  • content - The XML content to search
  • start - The opening tag (e.g., “

    ”)

  • end - The closing tag (e.g., “

    ”)

§Returns

A vector of strings containing all found text between tags