trim_comment_char: Trims comment char from the front of a string.

View source: R/all-helpers.R

trim_comment_charR Documentation

Trims comment char from the front of a string.

Description

Trims comment char from the front of a string.

Usage

trim_comment_char(s, c = "#")

Arguments

s

the string

c

comment character

Value

s without leading and trailing whitespace.


sakrejda/stannis documentation built on June 25, 2022, 3:19 a.m.