Replacing * in a VB.NET String

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

Guest
I have a String in VB.NET which may contain the String "1*", and I would like to replace this with "*". I have tried using the Replace method of String, as well as the Replace & Escape methods of RegEx, but none of them seem to work. Neither of the following seemed to work:


.Replace("1*", "*")


.Replace("1*", "*")


And I tried several different combinations of the RegEx methods, but still no success. What should I be doing? Thanks.


Nathan Sokalski njsokalski@hotmail.com www.mc005.com茗彩彩票

Continue reading...
 
Back
Top