I am still working on a solid proof 2 delimited SPLIT command. I am sure someone has made one before let me describe in detail what I'm trying to do:
let assume that:
<A> is the first delimeter
</a> is the second delimeter
Input String
---------------------
<A><A>hi how are you</a><hello><I am fine><A>really?</a><A>yes really!!!!<ggg></a>
First Array:
---------------------
<A>hi how are you</a>
Second Array:
---------------------
really?
Third Array:
---------------------
yes really!!!!<ggg>
What I'm wanting to accomplish is return the text between two delimiters in a string but the catch is that there can be a delimeter within a delimeter like this:
<A><A>hi</a>
<A> is one delimeter
</a> is the other delimeter
I would get the string:
<A>hi
see with a normal split command it would return this instead:
hi
very bad. I hope someone can help me. Thanks.
-------------
-Greg
[This message has been edited by Gregery D Engle (edited June 22, 2000).]
let assume that:
<A> is the first delimeter
</a> is the second delimeter
Input String
---------------------
<A><A>hi how are you</a><hello><I am fine><A>really?</a><A>yes really!!!!<ggg></a>
First Array:
---------------------
<A>hi how are you</a>
Second Array:
---------------------
really?
Third Array:
---------------------
yes really!!!!<ggg>
What I'm wanting to accomplish is return the text between two delimiters in a string but the catch is that there can be a delimeter within a delimeter like this:
<A><A>hi</a>
<A> is one delimeter
</a> is the other delimeter
I would get the string:
<A>hi
see with a normal split command it would return this instead:
hi
very bad. I hope someone can help me. Thanks.
-------------
-Greg
[This message has been edited by Gregery D Engle (edited June 22, 2000).]
Comment