What is an example of the string you are grabbing?
Soren
Moshe Tapnack <[EMAIL PROTECTED]>
09/22/2004 05:08 PM
Please respond to active-server-pages
To: [EMAIL PROTECTED]
cc:
Subject: [ASP] Counting "s
Hi all
I have a script drawing the first X chars for a descriotion of a product.
After that, there's a link to a page.
Th thing is that sometimes, on the X-th char, its in the middle of a <img>
tag - in which case both the image wont show (except for the dreaded X),
and
also - the "more" link wont work, because the brwoser thinks its still in
the <img> tag.
So I thought a way to overcome this would be to count apostophes in th
string. If its even - then its fine, and its odd, there is a tag that's
open, so I better insert a "> to close the tag.
That would at least allow the "more" link to show properly, but it still
doesn't solve the "missing" image issue...
Also - I ran into trouble looking for " - cos everytime you have to use
doubles.....
Any tips?
Thanks!
Moshe
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/