>>I don't know what the REExtract thing does exactly

It returns all strings between two matching REs in a list or in a query, 
with positions and lengths of all strings
Pretty handy when it is easier to describe what delimits strings than to 
describe the strings themselves.

For example,
<CF_REExtract
    INPUTMODE="variable"
    INPUT="myString"
    OUTPUTMODE="query"
    RE1="<!--- *TODO: *"
    RE2=" *--->"
    >
If myString contains:
<!--- TODO: First thing I have to do --->
blah blah blah
<!--- TODO: Second thing I have to do --->
blah blah blah
<!--- TODO: Yet another thing I have to do --->

will return this in a query:
*string1*       *string2*       *string3*       *pos1*  *pos2*  *pos3*  *len1* 
*len2*  *len3*
<!--- TODO:     First thing I have to do        --->    1       13      37      
12      24      5
<!--- TODO:     Second thing I have to do       --->    60      72      97      
12      25      5
<!--- TODO:     Yet another thing I have to do  --->    120     132     162     
12      30      5


But for 15 bucks, may be it is just not worth ! ;-)

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274607
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to