- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
Occhioverde
-
Content Count
2 -
Joined
-
Last visited
Posts posted by Occhioverde
-
-
Good morning.
I have a problem with an operation to do in the LUA language:
I have a file in which I have stored data, separated by line. I would need to read this file and store every line of this in an array, ignoring the first one.
For example:array = {line2, line3, etc}
Next, I would also need to compare each of these lines with a string, to check if it is contained, and I would need to know how to do both.
Thanks in advance for the help.
How can I store each line of a file in an array in Lua?
in Programming
Posted
With this solution I managed to solve my problem. Thanks so much.