Module:String
Revision as of 15:02, 29 November 2013 by CommanderC (talk | contribs) (Created page with "local p = {} function p.first_word(frame) local text = frame.args[1] for token in string.gmatch(text, "[^%s]+") do return token end end return p")
Small functions for string manipulation.
local p = {} function p.first_word(frame) local text = frame.args[1] for token in string.gmatch(text, "[^%s]+") do return token end end return p