今天是2025年12月17日 第51周 星期三
代人,时大变了。
我们生活在大地上,但我们的梦想超越天空。
更改
跳到导航
跳到搜索
第434行:
第434行:
− mw.log(no_pattern_flag, ignore_null_flag);
第456行:
第455行:
− mw.log(separ_str_begin, separ_str_end, iterator)
− mw.log("\"" .. result[i] .. "\"")
per EP
if ignore_null_flag == nil then ignore_null_flag = false end
if ignore_null_flag == nil then ignore_null_flag = false end
length = mw.ustring.len(input_str)
length = mw.ustring.len(input_str)
--split函數起點
--split函數起點
end
end
if separ_str_end < separ_str_begin then separ_str_end = separ_str_begin end
if separ_str_end < separ_str_begin then separ_str_end = separ_str_begin end
finded_str = mw.ustring.sub(input_str, iterator, separ_str_begin - 1)
finded_str = mw.ustring.sub(input_str, iterator, separ_str_begin - 1)
if not(mw.text.trim(finded_str) == '' and ignore_null_flag) then
if not(mw.text.trim(finded_str) == '' and ignore_null_flag) then
result[i] = finded_str
result[i] = finded_str
i = i + 1
i = i + 1
end
end