trimQuotes {rSHAPE}R Documentation

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

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

trimQuotes(funcIn)

Arguments

funcIn

a vector of character strings which you want trimmed

Value

character vector of length equal to the input

Examples

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


[Package rSHAPE version 0.3.2 Index]