whats wrong with:

>> blah: "my-string"
== "my-string"
>> blah: parse blah "-"
== ["my" "string"]
>> if find blah "my" [print ["yes"]]
yes
>>

its not what you want, but you cant search the string for something thats
not there,
eg "my*" :)

etcha

-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, August 20, 2000 11:42 AM
Subject: [REBOL] Find/any doesn't seem to find strings in blocks..


>I would have expected this to work. Am I missing something?
>
>    >> find/any ["my-string"] "my*"
>    == none
>
>Brett.
>
>--
>>> my-rebol-stuff
>== http://www.zipworld.com.au/~bhandley/rebol
>

Reply via email to