lua-users home
lua-l archive

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


On Sat, Oct 16, 2010 at 1:43 AM, Maxime Chupin <mc@melusine.eu.org> wrote:
> Why does not it  work as I want ? %s is not only for the space ?

%s is a character class representing whitespace characters, which
include space, tab, newline, and probably some less-common characters
too. If you want a space, use a space: split(t,"( +)")

~Jonathan