def string_split_operation(string: StringVar[Any], sep: StringVar | str = ""):
    """Split a string.

    Args:
        string: The string to split.
        sep: The separator.

    Returns:
        The split string.
    """
    return var_operation_return(
        js_expression=f"{string}.split({sep})", var_type=list[str]
    )
Split a string.

    Args:
        string: The string to split.
        sep: The separator.

    Returns:
        The split string.
    
reflex/vars/sequence.py