NoCoolHandle
Programmer
Hi..
I have a little control I am trying to write that acts like a stock ticker.. The issue is that it is a div tag that contains "a" tags.
This prevents me from just taking the first char and adding it to the end.
What I need to do is strip the text out of the a tag and if the a tag already exists at the end of the line, then just append to the end of the last a tag the beginning of the first.
The easiest way I could think of doing this was to use the string split method on the "</a>".
However this seems to have "escape" characters in it that prevent it from splitting the string into one "A" tag per parameter.
I have tried all sorts of "split parameters", but have had no success. (I am getting to the point of not doing this with the split, but...)
Any help here would be appreciated.
TIA
ROb
I have a little control I am trying to write that acts like a stock ticker.. The issue is that it is a div tag that contains "a" tags.
This prevents me from just taking the first char and adding it to the end.
What I need to do is strip the text out of the a tag and if the a tag already exists at the end of the line, then just append to the end of the last a tag the beginning of the first.
The easiest way I could think of doing this was to use the string split method on the "</a>".
However this seems to have "escape" characters in it that prevent it from splitting the string into one "A" tag per parameter.
I have tried all sorts of "split parameters", but have had no success. (I am getting to the point of not doing this with the split, but...)
Any help here would be appreciated.
TIA
ROb