7
Answers

Get a substring

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)