local f , err = loadstring (string [, chunkname])
Similar to loadfile, but gets the chunk from the given string.
To load and run a given string, use the idiom
assert(loadstring(s))()
or
dostring(s)
When absent, chunkname defaults to the given string.
Dofile
Dostring
Loadfile