neutralts::utilsFunction find_tag_position
Source pub fn find_tag_position(text: &str, tag: &str) -> Option<usize>
Expand description
Finds the position of a tag in the text.
It is used in the bif “moveto”.
§Arguments
text
: The text to search for the tag.
tag
: The tag to find.
§Returns
Some(usize)
: The position of the end of the tag, or None if the tag is not found.