Files
wow_Meta/api/gsub.lua
2024-12-16 13:13:08 +01:00

12 lines
456 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param s string
---@param pattern string
---@param rep string
---@param repTable table
---@param repFunc function
---@param maxReplaced number
---@return string newString
---@return number numMatched
---Returns a string in which occurrences of a pattern are replaced. Alias for the standard library function string.gsub.
function gsub(s, pattern, rep, repTable, repFunc, maxReplaced) end