lua-users home
lua-l archive

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


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