delstr_end: Delete the end of a string

Description Usage Arguments Details Value See Also

View source: R/tools.R

Description

Take a string, then delete the end of this string.

Usage

1

Arguments

str

a string of length nchar(str).

n

an integer. It is the number of characters to delete at the end of the string str

Details

None.

Value

A string of length nchar(str) - n, shortened by its end.

See Also

argchr returns all the instances of chr in str.
first_argchr returns the first instance of chr in str.
delstr_begin deletes the beginning of a string.
delstr_end deletes the end of a string.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.