def split_with_square_brackets(input_str):
    """
    Split a string using "," as delimiter while maintaining continuity within "[" and "]"
    Args:
        input_str: Input string

    Returns:
        substrings: List of substrings
    """
    substrings = []
    bracket_level = 0
    current_substr = []
    for next_char in (input_str + ","):
        if next_char == "," and bracket_level == 0:
            substrings.append("".join(current_substr))
            current_substr = []
        else:
            if next_char == "[":
                bracket_level += 1
            elif next_char == "]":
                bracket_level -= 1
            current_substr.append(next_char)
    return substrings