Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15741

VS 2019 StartsWith/EndsWith vs Like

$
0
0
Is there any difference between following commands?

Code:

If mwd.EndsWith("ous") Then mwd = mwd.Replace("ous","ás")
Code:

If mwd Like "*ous" Then mwd = mwd.Replace("ous","ás")

Viewing all articles
Browse latest Browse all 15741

Trending Articles



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