[R] Removing special chars in strings?
. .
xkziloj at gmail.com
Thu Sep 1 03:32:55 CEST 2011
Hi all,
How can I replace those "\" in the str?
Thanks in advance.
func <- function(str) {
print(gsub("\\","",str))
}
func("bla\ble\bli")
More information about the R-help
mailing list