Tau
2009-09-17 22:46:25 UTC
a href="http://itunes.com/{$rel.album_artist_name}/{$rel.album_title}
Takes the artist name and album title from a database and generates an itunes like eg http://www.itunes.com/djtau
If the artist name and the album names haves spaces the link eg "dj tau" generates as http://www.itunes.com/dj%20tau which is incorrect
how do i add a replace delete white space string into my script like:-
string = string.replace(new RegExp(/^\s+/),"");
im not a programmer need help :(