Search found 2 matches
- Wed Aug 12, 2020 10:44 pm
- Forum: Support and Development
- Topic: Help retrieving Strings from Tables
- Replies: 3
- Views: 2489
Re: Help retrieving Strings from Tables
Thanks for your replies. The problem turned out to not be the code. I was using Atom with the Love IDE extension . I tested all examples on an empty project, and it was still producing errors. However, a couple hours after I initially posted, Atom just dissapeared from my computer. I don't know why,...
- Wed Aug 12, 2020 12:41 am
- Forum: Support and Development
- Topic: Help retrieving Strings from Tables
- Replies: 3
- Views: 2489
Help retrieving Strings from Tables
Hello, I'm new to Love 2D and LUA in general, so my question probably has a simple answer. I seem to be having some trouble retrieving the value of strings previously stored in a table. For example, let say I have something like this: test = {"String"} a = string.sub(test[1],1,-1) print(a)...