Link to home
Start Free TrialLog in
Avatar of Mike Eghtebas
Mike EghtebasFlag for United States of America

asked on

read part of string... c#

var strName = "2013_1_Region1_101_1_Site01.png;"

Question: How can I get the value of 101 from  strName.

Always between 3rd and 4th _

Thank you.
SOLUTION
Avatar of Shaun Kline
Shaun Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Aw man! Beat me by 2 seconds?!?!?!

= D
Avatar of Mike Eghtebas

ASKER

kaufmed,

But you gave me what I could use. Respectfully, with Shuan's post, I needed to search or post yet another question to find out how split works.

Thanks to all,

Mike
Interesting EEple, but is it a pair of blue shorts with eye-holes cut in them I ask myself.  ;-)
It is code Ninja.
Aha - and on wikipedia interesting how he got his nickname (but how did that incident start?).