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

VS 2008 Remove all other characters except my word

$
0
0
Hi !
What i want to do is to remove all the characters from the string except my desired word, so if the string is
Code:

Dim mystring As String = "Hello this is my string"
i want it only to leave the word "my" so it will delete everything else, and the string will now only containt "my" and nothing else.
Thanks in advance

Viewing all articles
Browse latest Browse all 27513

Trending Articles



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