substrRight: Extract characters of a string from the right side of it.

Description Usage Arguments Value Examples

View source: R/substrRight.R

Description

Extract characters of a string from the right side of it.

Usage

1
substrRight(x, lastpos, giveright = T)

Arguments

x

string

lastpos

from what position counting in the right you want to extract characters

giveright

logical True/False whether you want to extract the strings in the left form that number of rom the right.

Value

The strings in the left of in the right from a given position counting from the right of a word

Examples

1
2
substrRight(monkey, 2,giveright=T)
substrRight(monkey, 2,giveright=F)

MoisesExpositoAlonso/moiR documentation built on May 7, 2019, 4:58 p.m.