Forums - C# Corner

Forum guidelines
Dave

Dave

  • 1.4k
  • 48
  • 11.3k

Get a substring

Jan 7 2014 12:02 PM

Hi,

I got a string something like
"abc-----defg---hi"
Any simple way to get the substring "defg"?
Note, "---" represents spaces and I don't know the length.


Answers (7)