Click here to Skip to main content
16,017,857 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear guys,


This is my string

<p><b>Property Location</b> <br />When you stay at Premier Inn Dubai Silicon Oasis in Dubai, you&apos;ll be in the business district and convenient to Dubai Silicon Oasis and Zayed University. This hotel"

How can i replace these symbols from the string and asighn to another string?


Any one knows
Posted
Comments
Sergey Alexandrovich Kryukov 12-Apr-14 1:28am    
Please, what's wrong with just reading standard MSDN documentation?
—SA

1 solution

Captain Obvious says: use this method: http://msdn.microsoft.com/en-us/library/system.string.replace.aspx[^].

Pay attention for other useful methods, especially string.Split and string.IndexOf:
http://msdn.microsoft.com/en-us/library/system.string.aspx[^].

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900