Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Strings basics
6. Join strings by custom separator
Regular expressions
Modifying strings
Summary

Instruction

Great! The paste() function also lets you join strings by another separator using the sep argument:

paste("Marks", "Spencer", sep="&")

to get:

Marks&Spencer

Exercise

Join two strings: names and domains, but use the at sign (@) as a separator.