Function rglua::lua::luaL_gsub

source · []
pub fn luaL_gsub(
    s: LuaString,
    pattern: LuaString,
    replace: LuaString
) -> LuaString
Expand description

Creates a copy of string ‘s’ by replacing any occurrence of the string ‘p’ with the string ‘r’
Pushes the resulting string on the stack and returns it