On Wednesday 25 June 2008 10:21, Nathan Neff wrote:
> For example, I want to find all non-whitespace characters in the
> string "Gambas", and
> iterate through them. I tried code like this:
> rege.Compile("(\\S)")
> FOR i = 1 TO rege.SubMatches.count
> Message(rege.SubMatches[i].Text)
> Bu
Hello,
I would like some help using the Submatches property of the Regexp feature
in Gambas.
For example, I want to find all non-whitespace characters in the string
"Gambas", and
iterate through them. I tried code like this:
DIM rege AS NEW Regexp
DIM i AS Integer
' The \S is a non-whitesp