trimQuotes: This is a function to trim a string by removing the first and...

Description Usage Arguments Value Examples

View source: R/sourceSHAPE.R

Description

This is a function to trim a string by removing the first and last character, it's used to trim quotation marks used in the parameter input

Usage

1
trimQuotes(funcIn)

Arguments

funcIn

a vector of character strings which you want trimmed

Value

character vector of length equal to the input

Examples

1
2
# It removes leading and trailing string positions, use when quotations are known to exist.
trimQuotes(c('"someWords"','otherwords"',"is_changed"))

rSHAPE documentation built on July 19, 2019, 5:05 p.m.

Related to trimQuotes in rSHAPE...