Moved string functions to string-extensions.lua.