", " ") Dim str1 As String = ....">
C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




multiple replace string


Posted Date: 25 Jul 2008      Total Responses: 1

Posted By: kali raj       Member Level: Gold     Points: 1



Dim str As String = Replace(rb.SelectedText, "<TD>", " ")
Dim str1 As String = Replace(str, " ", "")
Dim str2 As String = Replace(str1, "</TD>", "")
TextBox3.Text = str2.Trim

I want do this in one replace statement..

how ??????????





Responses

Author: Murali    25 Jul 2008Member Level: BronzeRating:     Points: 2

Try this:

Dim str as string = rb.selectedText
str = str.Replace("<td>","").Replace(""," ").Replace("</TD>","")



Post Reply
You must Sign In to post a response.
Next : how to make a PDF from and xsl FO file
Previous : reduse size
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use