7
Answers

Get a substring

Dave

Dave

11y
1.5k
1

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)