>> dim fi as new ElfDataFields( s, " " )
>
>> if fi.MoveNext(7) then
>>     MsgBox fi
>> end if
>
> Just downloaded your plugin to test.
>
>   if fi.MoveNext(8) then
>     MsgBox fi
>   end if
>
> produces the same string the OP was complaining about, two words  
> with two
> embedded endOfLines.
>
> I think what he really wanted was a function to do the equivalent of
> Split( ReplaceLineEndings( s, " " ) )


Yes. As I said, I misunderstood the original thread. With ElfData he  
could do this:

s = ReplaceLineEndings( s, " " )
fi = new ElfDataFields( s, " " )
if fi.MoveNext(7) then
msgbox fi
end

It would be the same though.

I only entered the thread because some people in that thread were  
discussing the line endings, and the differences between Mac and PC  
lines. I don't enter threads just to say my plugin can do the same  
thing ;) I only enter if my plugin can do better. In this case it can  
only do the same. If he was processing mixed lines...

--
http://elfdata.com/plugin/
"String processing, done right"


_______________________________________________
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