forked from LeenkxTeam/LNXSDK
14 lines
394 B
Python
14 lines
394 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class SplitStringNode(LnxLogicTreeNode):
|
|
"""Splits the given string."""
|
|
bl_idname = 'LNSplitStringNode'
|
|
bl_label = 'Split String'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_output('LnxNodeSocketArray', 'Array')
|
|
|
|
self.add_input('LnxStringSocket', 'String')
|
|
self.add_input('LnxStringSocket', 'Split')
|