from typing import Tuple


def find_next_tag(template: str, pointer: int, left_delimiter: str) -> Tuple[str, int]:
    """Find the next tag, and the literal between current pointer and that tag"""

    split_index = template.find(left_delimiter, pointer)

    if split_index == -1:
        return (template[pointer:], len(template))

    return (template[pointer:split_index], split_index)