lua-users home
lua-l archive

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



In absolutely no way!  (except for being slower, I guess..)

Thanks for the pointer, I just never realized the extension was there already!

-ak		**who's busy changing his code back to string.find**


17.9.2004 kello 20:28, Adrian Sietsma kirjoitti:

 Asko Kauppi wrote:
This is a variant of 'string.find()' with a starting place (probably, range?) within a string. Allows me to look for HTML tags etc. within a huge all-in-one string, without creating an awful lot of intermediate substrings.
Current implementation:    using 'string.find' and 'string.sub'
    -----
-- [start_int, stop_int [,capture ...]]= string.findfrom( str, start_int, pattern_str )
    --
how does that differ from string.find(str,pattern,start_int) ? (Lua 5.0)
Adrian