3 ms·>sub("a", "b"); That should be gsub, shouldn't it? (sub only replaces the first occurrence)by yesenadam 8y ago>sub("a", "b"); That should be gsub, shouldn't it? (sub only replaces the first occurrence)Hello71 8y agoYes.