string.functions {kyotil}R Documentation

String Functions

Description

%+% concatenates its arguments and returns a string.

Usage


a %+% b

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, ...)

## Default S3 method:
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


x=1
x %.% "b" %.% "c"


[Package kyotil version 2018.10-17 Index]