I want to split list just like string.split(split_between_that_value) does, how can I do this?
So with string "some string with spaces" string.Split(' ') will split it to [some, string, with, spaces] array.
But with list containing all characters as items I have no idea how to do it...
List:
{'s','o','m','e',' ','s','t','r','i','n','g',' ','w','i','t','h',' ','s','p','a','c','e','s'}
I want it to to split into list of lists:
{{'s','o','m','e'},{'s','t','r','i','n','g'},{'w','i','t','h'},{'s','p','a','c','e','s'}}