lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Apologies again if this e-mail is badly formatted.

str = "\nDo \nI\n\nwin?\n\n"
for w in string.gmatch(str, "\n*([^\n]+)\n*") do print(w) end
-->Do
-->I
-->win?

:D

-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing to do and always a clever thing to say."

-Will Durant