I was wondering if anyone has made a better split command (like the VB6 one and the one that Dave Made in the source code fourm) the way the split command works now is:
lets assume input$ ="<G>EXAMPLE</g><G>hi</g>"
then with the original split command that VB6 uses:
buffer()=split(input$,"<G>")
------------
buffer(0) would equal : EXAMPLE</g>
buffer(1) would equal : hi</g>
What I think a better split command would be:
-----------------------------------------------------
buffer()=split(input$, "<G>", </g>
-----------------------------------------------------
buffer(0) would equal : EXAMPLE
buffer(1) would equal : hi
I think this type of function would be very useful has anyone made a function like this? If so would they be willing to share it?
Thanks in advance
-------------
-Greg
lets assume input$ ="<G>EXAMPLE</g><G>hi</g>"
then with the original split command that VB6 uses:
buffer()=split(input$,"<G>")
------------
buffer(0) would equal : EXAMPLE</g>
buffer(1) would equal : hi</g>
What I think a better split command would be:
-----------------------------------------------------
buffer()=split(input$, "<G>", </g>

-----------------------------------------------------
buffer(0) would equal : EXAMPLE
buffer(1) would equal : hi
I think this type of function would be very useful has anyone made a function like this? If so would they be willing to share it?
Thanks in advance
-------------
-Greg
Comment