Files
2025-07-25 12:53:52 +02:00

15 lines
322 B
Python

class SplitString:
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"string": ("STRING",),
}
}
RETURN_TYPES = ("STRING",) * 12
FUNCTION = "split_string"
def split_string(self, string: str):
return (*string.split("\n\n")[:12],)