更新时间:2022-10-22 11:39:45
Captain Obvious 说:使用这种方法: http:/ /msdn.microsoft.com/en-us/library/system.string.replace.aspx [ ^ ]。
注意其他有用的方法,尤其是string.Split
和string.IndexOf
:
http://msdn.microsoft.com/en-us/library/system.string.aspx [ ^ ]。-SA
Dear guys,
This is my string
<p><b>Property Location</b> <br />When you stay at Premier Inn Dubai Silicon Oasis in Dubai, you'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
Captain Obvious says: use this method: http://msdn.microsoft.com/en-us/library/system.string.replace.aspx[^].
Pay attention for other useful methods, especiallystring.Split
andstring.IndexOf
:
http://msdn.microsoft.com/en-us/library/system.string.aspx[^].—SA