Forums - C# Corner

Forum guidelines
Dave

Dave

  • 1.3k
  • 48
  • 9.9k

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)

techbash 2016

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!