strip_comments: Remove comments

Description Usage Arguments Value Examples

View source: R/utils-string.R

Description

Remove comments from a string

Usage

1

Arguments

str

A character string

Value

The character string stripped from its comments

Examples

1
2
3
4
## Not run: 
strip_comments(c("test","test2 # with a comment", "# just a comment"))

## End(Not run)

VEZY/XploRer documentation built on Oct. 9, 2021, 10:05 p.m.