paste (join) strings and numbers together
- paste
paste("Hello", "World", "!") # "Hello World !"
name = "Foo"
age = 42
city = "Budapest"
paste(name, age, city) # "Foo 42 Budapest"
paste(name, age, city, sep="_") # "Foo_42_Budapest"
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
paste("Hello", "World", "!") # "Hello World !"
name = "Foo"
age = 42
city = "Budapest"
paste(name, age, city) # "Foo 42 Budapest"
paste(name, age, city, sep="_") # "Foo_42_Budapest"