Hi, Hallvard,

Hallvard Ystad wrote:
> 
> Ah, that's of course (computer) logical. I was thinking human
> logical: of course characters are a sort of strings...

I still periodically have to figure out which kind of logic to
use...  ;-)  In a related vein:

    >> uppercase "foo"
    == "FOO"
    >> uppercase %foo
    == %FOO
    >> uppercase http://foo.com/
    == HTTP://FOO.COM/
    >> uppercase [EMAIL PROTECTED]
    == [EMAIL PROTECTED]
    >> uppercase #"a"
    ** Script Error: uppercase expected string argument of
       type: any-string.
    ** Where: uppercase #"a"

-jn-

-- 
; sub REBOL {}; sub head ($) {@_[0]}
REBOL []
# despam: func [e] [replace replace/all e ":" "." "#" "@"]
; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"}
print head reverse despam "moc:xedef#yleen:leoj" ;
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to