first commit

This commit is contained in:
brayevalerien
2025-07-25 12:53:52 +02:00
parent 463daf1057
commit 2681c61347
4 changed files with 59 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
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],)