1,639
edits
JoshuaJSlone (talk | contribs) (So many years I'm not sure what those underscores are doing... and the next line is throwing errors about OriginalYear so I guess something is going wrong with the previous line... play time.) Tag: Reverted |
JoshuaJSlone (talk | contribs) (OK, seems the trouble was I was just seeing the output on a page without a four digit year...) Tag: Manual revert |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 19: | Line 19: | ||
--PageName = "1987 Sandwiches" | --PageName = "1987 Sandwiches" | ||
OriginalYear = string.find(PageName, "(%d%d%d%d)") | _, _, OriginalYear = string.find(PageName, "(%d%d%d%d)") | ||
PageWithout = string.gsub(PageName, OriginalYear, "@@@@") | PageWithout = string.gsub(PageName, OriginalYear, "@@@@") | ||