On 4/8/07, Steve Garman <[EMAIL PROTECTED]> wrote:
> Running your example project in Windows I get exactly what I would expect.
>
>
> found = arr.IndexOf("within")
> returns -1
>
> found = arr.IndexOf("embedded" + EndOfLine.macintosh _
> + EndOfLine.macintosh + "within")
> returns 7
>
> I would not expect to find "within" as a separate element.
When I inspect the array elements on my Mac, "within" does not show up anywhere.
My guess is that the text I entered in the EditField on my Mac has
Macintosh EndOfLines embedded in it. Try retyping the text, or some
other text with embedded EndOfLines on your Windows machine and see
what happens. Who knows, maybe this is a Mac-only problem.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>