Documentation
¶
Index ¶
- func Contains(L *lua.LState) int
- func Fields(L *lua.LState) int
- func HasPrefix(L *lua.LState) int
- func HasSuffix(L *lua.LState) int
- func Join(state *lua.LState) int
- func Loader(L *lua.LState) int
- func Preload(L *lua.LState)
- func Split(L *lua.LState) int
- func Trim(L *lua.LState) int
- func TrimPrefix(L *lua.LState) int
- func TrimSpace(L *lua.LState) int
- func TrimSuffix(L *lua.LState) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
Contains lua strings.contains(string, cutset) Port of go string.Contains() returns bool
func HasPrefix ¶
HasPrefix lua strings.has_prefix(string, suffix): port of go string.HasPrefix() return bool
func HasSuffix ¶
HasSuffix lua strings.has_suffix(string, prefix): port of go string.HasSuffix() returns bool
func Preload ¶
Preload adds strings to the given Lua state's package.preload table. After it has been preloaded, it can be loaded using require:
local strings = require("strings")
func TrimPrefix ¶
TrimPrefix lua strings.trim_prefix(string, cutset) Port of go string.TrimPrefix() returns string
func TrimSpace ¶
TrimSpace lua strings.trim_space(string) Port of go string.TrimSpace() returns string
func TrimSuffix ¶
TrimSuffix lua strings.trim_suffix(string, cutset) Port of go string.TrimSuffix() returns string
Types ¶
This section is empty.