Why is it necessary to replace them?  I suggest that you not alter the data
that is inputted.  If it needs to be filtered for HTML display purposes,
that's fine, but you should do that filtering at the presentation level.
That is, let the data being stored be the real data and then worry about the
< and > characters when they're a problem.

Ray at work 

> -----Original Message-----
> From: Alex [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, December 09, 2004 4:01 PM

> 
> If you have a database record:
>  
> text = "la la la la la <br><br> le le le le le <br><br> lo lo 
> lo lo lo"
>  
> and it is necessary to remove the "<" and ">"'s, how would 
> you go about
> doing that?
>  
> Possibly replacing "<" and ">" with "|"...




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/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/
 



Reply via email to