I’ll keep this short, as always.
Let’s say you want to get a random letter from the alphabet, so you go ahead and do this:
local alphabet = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"}
local letter = alphabet[math.random(1,#alphabet)]
print(letter)
As you can see, there’s an extremely long table of letters.
This is what I want to try to do, to make life easier:
local alphabet = "abcdefghijklmnopqrstuvwxyz"
local letter = --???
print(letter)
Is there a way to get all of the letters from that one string? Please let me know.