getCharacters.Arguments: Coerces to a character vector and validates
Description
Coerces to a character vector and validates.Usage
Arguments$getCharacters(s, length=NULL, trim=FALSE, nchar=NULL, useNames=FALSE, asGString=TRUE, .name=NULL, ...)
Arguments
nchar
A numeric
vector
of length one or two. If one,
the maximum number of characters ("length") in s
. If two,
the minimum and maximu useNames
If TRUE
, the 'names' attribute is preserved, otherwise
it is dropped. .name
A character
string for name used in error messages. Value
- Returns a
character
vector
, if it is valid. Otherwise an exception is
thrown.
synopsis
getCharacters.Arguments(static, s, length=NULL, trim=FALSE, nchar=NULL, useNames=FALSE, asGString=TRUE, .name=NULL, ...)