String length (right mid left)

I have found the string Len function but have as yet (if there is one) the right left and mid function.
Any help in this matter would be grateful.

@Jazmal You would use the string.sub() function. See examples.

function setup()
    str="abcdefghijklmnopqrstuvwxyz"

    -- left
    print(string.sub(str,1,5))

    -- right
    print(string.sub(str,string.len(str)-5))

    -- mid
    print(string.sub(str,10,15))

end

Thanks @dave1707 I was looking in the wrong place.