Created
February 10, 2016 13:58
-
-
Save ar1a/711c77b6a9ca0419ccab to your computer and use it in GitHub Desktop.
xd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function xd(str) local count = 0 for i in string.gmatch(str,"[Dd]") do count = count + 1 end local str = "ecks d" for i = 1, count do str = str .. "EE" end return str end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment