Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How do I take selected part of string?

$
0
0

$string = "filename:pizza.jpg/"

I want to end up with "pizza.jpg".  I know the colon and / will always be there.  If not, for any reason, I need to capture it came back not as expected.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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