Where a single search doesn't work, I usually revert to finding the
start index 'start = find("<td width=1", myStr)' and then the end
index 'end = find("</td>", myStr, start) + 4' and then do a mid(myStr,
start, end) call to pull it out. You may have to tweak that a little,
but that's the idea.
cheers,
barneyb
On Tue, 31 Aug 2004 12:27:46 -0400, Josen Ruiseco
<[EMAIL PROTECTED]> wrote:
> I am calling a document via cfhttp. I am replacing numerous lines of text within the called document.
>
> There is a snippet in the document that I cannot seem to grab:
>
> <td width=1>
>
> </td>
>
> Spacing is as it is in the doc...
>
> I can grab the <td width=1> with no problem. But I cannot grab the </td> because I will screw up the entire document. I tried control characters to get the whole thing - chr(), etc. (replace(document,"<td width=1>#chr(13)#...</td>", "")>) but it seems that I could not grab them that way.
>
> Any ideas?
>
> Regards,
>
> Josen
> GoMotorBids.com
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- CFHTTP and replace() on Multiple Lines Josen Ruiseco
- Re: CFHTTP and replace() on Multiple Lines joe velez
- Re: CFHTTP and replace() on Multiple Lines Barney Boisvert
- Re: CFHTTP and replace() on Multiple Lines Josen Ruiseco
- RE: CFHTTP and replace() on Multiple Lines Pascal Peters