O.P. [help] Removing tags
"8><li value=8 id=d360284>some text some text ..."
I am getting a text from an url like seen above, I want to remove the tags before the text. The "value" and "id" numbers are variable, so I made this code for this..
kokentry is the text.
basla = kokentry.indexOf("<li value=");
bit = kokentry.indexOf(">",basla);
kokentry = kokentry.remove(0, bit);
But it gives me an error at the line 3: "The object does not support this property or method."
I don't know what to do.
|