What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » "Style"

"Style"
Author: Message:
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: "Style"
Not really. You can use the String.replace function with a loop.
code:
function replace(s,from,to){
    while (s.indexOf(from) > -1){
        s = s.replace(from,to);
    }
    return s;
}

Then you can say:
code:
var StringToReplace = 'aaaaaaaa';
StringToReplace = replace(StringToReplace,'a','A');
07-13-2006 01:42 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
"Style" - by wlmcrap on 07-11-2006 at 01:23 PM
RE: "Style" - by RaceProUK on 07-11-2006 at 03:15 PM
RE: "Style" - by wlmcrap on 07-11-2006 at 10:18 PM
RE: "Style" - by craig2k5 on 07-11-2006 at 10:56 PM
RE: "Style" - by Joereynolds89 on 07-11-2006 at 11:08 PM
RE: "Style" - by craig2k5 on 07-11-2006 at 11:12 PM
RE: "Style" - by Joereynolds89 on 07-11-2006 at 11:25 PM
RE: "Style" - by Silentdragon on 07-11-2006 at 11:48 PM
RE: "Style" - by wlmcrap on 07-12-2006 at 01:52 AM
RE: "Style" - by cloudhunter on 07-13-2006 at 01:25 AM
RE: "Style" - by wlmcrap on 07-13-2006 at 01:28 AM
RE: "Style" - by ddunk on 07-13-2006 at 01:37 AM
RE: "Style" - by deAd on 07-13-2006 at 01:42 AM
RE: "Style" - by CookieRevised on 07-13-2006 at 09:39 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

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