kyotil (version 2016.11-9)

string.functions: String Functions

Description

%+% concatenates its arguments and returns a string.

Usage

a %+% b
contain(s1, s2) trim (x, trim.trailing=TRUE, trim.leading=TRUE)
escapeUnderline(name)
fileStem(file.name)
firstIndex(s1, s2)
getExt(file.name)
getFileStem(file.name)
getStem(file.name)
lastIndex(s1, s2)
myprint(object, ...)
"myprint"(..., newline = TRUE, digits = 3)
remove.prefix(s, sep = "_")

Arguments

a

b

s1

s2

name

file.name

object

...

newline

digits

s

sep

x

trim.leading

trim.trailing

Examples

Run this code

x=1
x %+% "b" %+% "c"

Run the code above in your browser using DataLab