> When I inspect the array elements on my Mac, "within" does not show up 
> anywhere.

Will you do me a favour please?
Try this on your mac.

  dim s As String
  dim arr() As String
  dim found As Integer
  
  s = "This is some text with" + EndOfLine + EndOfLine
  s = s + "carriage return characters embedded" + EndOfLine + EndOfLine
  s = s + "within the string, for testing the" + EndOfLine + EndOfLine
  s = s + "split function."
  
  arr = Split(s)
  
  MsgBox arr (7)
  
On windows, I get exactly what I would expect, A msgbox with the following
text:
embedded

within


-- 
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>

Reply via email to