[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table.join -> string.split?
- From: Andrzej Borsuk <andrzej.borsuk@...>
- Date: Wed, 20 Nov 2002 13:16:40 +0100
Uz.ytkownik Gunnar Zötl napisa?:
like perls split() or phps explode(). I think this would be a valuable
addition to the core library.
I like Pike solution, in this language you can simply write
table = "a,b,c,d" / ","
(offcourse you can use any regexp)
string = table * ","
etc..
Under lua-4 you can modify engine to allow change tags of string and it
so it is possible to extend lua int this way,
but under lua-5 you cannot assign metatable to strings :-(
Andrzej Borsuk
--
_
(;[ SPAM?
\/>) Prosze; wysy?ac' na moje podstawowe konto
`ab~^ mailto:root@localhost