Currently, you would need to have a two lists: You have a script go through every letter and add it to the first list, then once it hits a space ( " " ) then it adds the first list into the second list, then clears all the data from the first list and then continues ( not adding the space to the list ).
I've asked for a "split" block ( the reverse of the "join" block ), but it hasn't been added yet.
Offline
Magnie wrote:
Currently, you would need to have a two lists: You have a script go through every letter and add it to the first list, then once it hits a space ( " " ) then it adds the first list into the second list, then clears all the data from the first list and then continues ( not adding the space to the list ).
I've asked for a "split" block ( the reverse of the "join" block ), but it hasn't been added yet.
Well I have an easier way but yes we need a split block. (Split hello world)
Offline
Thescratch3 wrote:
Magnie wrote:
Currently, you would need to have a two lists: You have a script go through every letter and add it to the first list, then once it hits a space ( " " ) then it adds the first list into the second list, then clears all the data from the first list and then continues ( not adding the space to the list ).
I've asked for a "split" block ( the reverse of the "join" block ), but it hasn't been added yet.Well I have an easier way but yes we need a split block. (Split hello world)
yes, but then would you be able to do
split hello split world split and split have split a split nice day
Offline
I have used that exact script in my chatbot! Its called Julia. It is the first part of the only script.
Offline
jji7skyline wrote:
I have used that exact script in my chatbot!
Its called Julia. It is the first part of the only script.
How did you do it?
Offline