Tao.Lua SDK Documentation

Lua.luaL_gsub Method 

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.

[Visual Basic]
Public Shared Function luaL_gsub( _
   ByVal L As IntPtr, _
   ByVal s As String, _
   ByVal p As String, _
   ByVal r As String _
) As String
[C#]
public static string luaL_gsub(
   IntPtr L,
   string s,
   string p,
   string r
);

Parameters

L
s
p
r

Return Value

See Also

Lua Class | Tao.Lua Namespace