For example:
list_string = ["This is a string that I want."
, "this is also a string that I want!"
, "and this"
, "and also this one!!"]
and what I would wish to obtain is:
list_string1 = ["This is a string that I want."]
list_string2 = ["this is also a string that I want!"]
list_string3 = ["and this"]
list_string4 = ["and also this one!!"]
I am aware that there are many questions asked regarding the splitting of strings in python in stackoverflow however I have not found one with the answer to my question here. Is this even possible?
Would really appreciate if someone could give me some input on this as I genuinely want to gain some knowledge!