How would I split a list value?

My code saves into a tinydb 2 words into an index, looking like “1”,”2”. I take that to another screen, and now want to split those values into 2 separate lists. How would I do that?

if you store this value in TinyDB
“1”,”2”
you could use the split block from the text drawer in your second screen and split at , (comma) to get a list of 2 items,
"1" and "2"

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.