Learn R Programming

phylosim (version 3.0.5)

stringLength: Returns the string length of the character representation of an object

Description

Returns the string length of the character representation of an object. More useful as a static method.

Usage

# S3 method for default
stringLength(this, ...)

Arguments

this

An object.

...

Not used.

Value

An integer vector of length one.

See Also

For more information see PSRoot.

Examples

Run this code
# NOT RUN {
	x<-"character representaion"
	# get the strign length of x
	stringLength(x)
 
# }

Run the code above in your browser using DataLab