left(string,num)and it will return num letters from the left. for example
left('hello world!',3)
would return 'hel'and you can do the same for the right, using this you can build the following function (I will use lua syntax as you are familiar with it)
local function atloc(string,at,till) return right(left(string,at+till),till) endand then you can say
atloc('hello world',2,3)
and it would return 'ell'I need this for a game design but I don't know if there are any functions like this in LUA, I have checked the string manipulation area in the manual with no success











