Click here to Skip to main content
15,860,859 members

Comments by Aladár Horváth (Top 1 by date)

Aladár Horváth 14-Aug-15 4:48am View    
Deleted
You have to replace ",1," insted of ",1" to "+," like this:

var str = ",1,2,3,123";
var txt = str.replace(",1,","+,");