Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing leading <br> tag

Status
Not open for further replies.

meckeard

Programmer
Aug 17, 2001
619
US
All,

I store data with HTML tags and need to remove a leading <br> tag if present.

I tried a few things, also used the Server.HtmlDecode with no luck.

How can I do this?

Thanks.
 
But wouldn't this replace all instances of a break tag? I only need one if it's at the beginning of my string.
 
oh ok...use left function...

Replace(left(yourfield,1), chr(10),"")

-DNG

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top