Hacker News new | ask | show | jobs
by yesenadam 2709 days ago
>sub("a", "b");

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

1 comments

Yes.