first commit
This commit is contained in:
@@ -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],)
|
||||
Reference in New Issue
Block a user