Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

random string generator lua

function RandomVariable(length)
	local res = ""
	for i = 1, length do
		res = res .. string.char(math.random(97, 122))
	end
	return res
end
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #random #string #generator #lua
ADD COMMENT
Topic
Name
4+9 =