Learn R Programming

functClust (version 0.1.6)

delstr_end: Delete the end of a string

Description

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

Usage

delstr_end(str, n)

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

Value

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

Details

None.

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.