lua-users home
lua-l archive

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


> and that blanks in scanf consume spans of white spaces.

To reproduce this feature of scanf, use
	v1, v2 = str:match("val%s+(%d+)%s+|%s+(%d+)")