Files
wow-weakauras/Meta/api/gsub.lua
2024-11-07 23:12:37 +01:00

12 lines
467 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