Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

delstr

String handling


Description

delstr deletes a substring from a string

Usage

delstr(str,del)

Arguments

str

a string, may be empty, string to be edited

del

a string, may be empty, string to be taken out.

Value

A string

Author(s)

Christian W. Hoffmann <christian@echoffmann.ch>

Examples

delstr("Don't enter my garden","en")
# -> "Don't ter my gard"
delstr("12345","2") # "1345"

strReverse(c("abc", "Statistics")) #  "cba" "scitsitatS"

cwhmisc

Miscellaneous Functions for Math, Plotting, Printing, Statistics, Strings, and Tools

v6.6
GPL (>= 2)
Authors
Christian W. Hoffmann
Initial release
2018-08-24, 10:40:10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.