DiffuseCraft / utils /string_utils.py
zerhero's picture
refactor
169b607
raw
history blame
328 Bytes
def process_string(input_string: str):
"""
:param input_string:
:return:
"""
parts = input_string.split('/')
if len(parts) == 2:
first_element = parts[1]
complete_string = input_string
result = (first_element, complete_string)
return result
else:
return None