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.
--
Steve Garman
Using REALbasic Professional on Windows XP Pro
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>