Forums - C# Corner

Forum guidelines
Dave

Dave

  • 734
  • 29
  • 9.5k

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)

C# Corner Hyderabad Developer Conference

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.