Hi, I don’t know sqlite but I have to implement a database already done. The problem: i have a column called “answers” in this format:
House,40|Bed,20|Mirror,10
ecc.
I want to split the string and remove “,” “|” like this:
VARIABLE A=House VARIABLE A1=40 VARIABLE B=Bed VARIABLE B1=20 VARIABLE C=Mirror VARIABLE C1=10
How can i do it with Lua?
I’m sorry for my english. Thanks to everybody.