Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21246

If a text in a string ends with * go to start of that word

$
0
0
Hi all,

Can someone please help me with this logic? I have a string e.g.

"pc4541@omnmb printer123*lptrd notebook141#opriu ipad662;mkilo"

I want to search for a word ending in e.g. "lptrd" and return the full text in that word e.g. "printer123*lptrd"

Thanking you in advance

Viewing all articles
Browse latest Browse all 21246

Trending Articles



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