Shoutbox
latest posts
member list
search
rules
contact
login
|
register
|
shoutbox
What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox
»
MsgHelp Archive
»
Messenger Plus! for Live Messenger
»
Scripting
» [help] Removing tags
[help] Removing tags
Author:
Message:
grae
New Member
Posts: 2
Joined: Jun 2006
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.
06-28-2006 03:21 PM
Mnjul
forum
super mod
plz wub me
Posts: 5396
Reputation:
58
– /
/
Joined: Nov 2002
Status:
Away
RE: [help] Removing tags
There is no remove method of a String in JScript 5.6...
Line 3 could be replace with
kokentry = kokentry.substr(bit+1)
to get the desired result, I think.
This post was edited on 06-28-2006 at 03:51 PM by
Mnjul
.
[
Check out HopperLive to send toasts to your contacts!
]
[
Play Minesweeper Flags with your computer!
] [
Use Yet Another Photo Sharing Disabler to stop Messenger's Photo Sharing!
]
06-28-2006 03:51 PM
grae
New Member
Posts: 2
Joined: Jun 2006
O.P.
RE: [help] Removing tags
Oh, I see. My foolishness.. Thank you, this helped.
06-28-2006 04:36 PM
«
Next Oldest
Return to Top
Next Newest
»
Threaded Mode
|
Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe
|
Add to Favorites
Rate This Thread:
Select Rating...
5 ... Best
4
3 ... Average
2
1 ... Worst
Forum Jump:
Please select one:
--------------------
Latest Posts
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Open Forum
Forum Rules:
You
cannot
post new threads
You
cannot
post replies
You
cannot
post attachments
You
can
edit your posts
HTML is
Off
myCode is
On
Smilies are
On
[img] Code is
On