Module:String: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
add str.replace_plain
(add str.replace_plain)
(add str.replace_plain)
Line 177:
 
if firstonly == 'true' or firstonly == 'yes' or firstonly == '1' then
local result = mw.ustring.gsub( source_str, pattern_plain, replace_plain, 1 );
else
local result = mw.ustring.gsub( source_str, pattern_plain, replace_plain, n );
end
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu