How do I convert a string to a list
-
I have a string like “burger\nfries\ntacos” (\n is a line break). How can I convert this or add this to a list? The XO assistant doesn’t work at all for me, so I can’t ask it.
-
@jeffreyrb03-gmail there’s a set list to split of text with splitter block, it’s right above the reporter blocks in the list section
-
@tyller_ oh I see it thanks bro
-
@jeffreyrb03-gmail said in How do I convert a string to a list:
I have a string like “burger\nfries\ntacos” (\n is a line break). How can I convert this or add this to a list? The XO assistant doesn’t work at all for me, so I can’t ask it.
Can you show us what’s the issue with XO? It should work for everyone, and we will fix any issues you may have.
BTW, here is what you would get from XO, but you might need to use “\n” instead of “\n” as the splitter in your code.
-
@info-creaticode I just get loading forever
whatever website it’s trying to fetch or send a request to might just be blocked by my school, so when I have a chance I’ll test it on my Windows laptop. It might also be because it takes up a lot of memory because school Chromebooks suck and just crash on you. -
Thanks for the explanation. XO doesn’t really take much computation or memory resource, so likely this is because the XO server is blocked by your school.