Ronnie |
12-07-2008 09:46 PM |
Removing the guild.
Okay, so I have a function , "getplayers", and in this function I have it remove all the *'s from there nick, But my problem is how would I remove the guilds in there nicks in the list without removing it from there player? and i'm not sure if I can even use substrings on this since I don't know how long the guilds are for each person.
PHP Code:
function getPlayers() { temp.str = this.listed; temp.str = replacetext(str, "*", ""); newtext = str; this.listed = newtext; //This works , but now how would I remove the guilds! }
-Thanks in advance
Ronnie
|