Minor rename; move code
Additional string library functions for Lua