Hello,
Can any of you guys help me out with the following string transformation pls?
/hi/guys/id/from/page
... has to become ...
hi.guys.id.from.page
I already got:
// returns 'hi.there/guys'Code:var str = '/hi/there/guys'; log( str.slice(1).replace('/', '.') );
Thanks for the help!
Christophe



Reply With Quote
Bookmarks