Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27336

VS 2012 How to replace words in a string

$
0
0
Hi I need to replace sum words in a string.

EX: me and amanda are go to town.

When I use this Dim s As String = FileString.Replace("and", "") it removes the and but it also removes the and from amanda.

I also looked at using Regular Expressions but I'm not having any luck.

Thanks.

Viewing all articles
Browse latest Browse all 27336

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>