[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string buffer needs / string find
- From: Asko Kauppi <asko.kauppi@...>
- Date: Thu, 16 Sep 2004 15:41:14 +0300
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