diff --git a/prototypes/tests.py b/prototypes/tests.py index 41c09ad..b3e6016 100644 --- a/prototypes/tests.py +++ b/prototypes/tests.py @@ -27,6 +27,17 @@ class FormField: self.label += "*" +# %% +t_str = "asd.yxcxc.dfgjj.aasdsdsdsd.sdsdsdsd" +splitted = t_str.split(".") +part, rest = splitted[0], splitted[1:] + +part + +# %% +".".join([part] + rest) + + # %% FormField("name", "Projektbeschreibung", FormFieldType.LONGTEXT, required=True) # %%