string.functions {kyotil}R Documentation

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)

remove.prefix(s, sep = "_")

Arguments

a

a

b

b

s1

s1

s2

s2

name

name

file.name

file.name

s

s

sep

sep

x

sep

trim.leading

sep

trim.trailing

sep

Examples


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


[Package kyotil version 2024.5-8 Index]