Hacker News new | past | comments | ask | show | jobs | submit login

>sub("a", "b");

That should be gsub, shouldn't it? (sub only replaces the first occurrence)




Yes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: