[REBOL] Re: find/last/part behaviour
From: hallvard:ystad:helpinhand at: 23-Dec-2002 10:26
I've been checking file extensions like this:
found? find skip tail filename -4 ".ext"
found? find skip tail filename -3 ".gz"
found? find skip tail filename -7 ".tar.gz"
.. so as usual, there is a multitude of ways to do things. I like your way better, Anton,
because it doesn't require a specification of how many characters to check (whereas I
have to change the number of 'skip each time).
Merry X-mas, everyone.
Dixit Anton (04.11 22.12.2002):