powered by
Returns the string lengths of the character represenations of a collection of objects. More useful as a static method.
# S3 method for default stringLengthVector(this, ...)
An array or a list of object.
Not used.
An integer vector with the corresponding lengths.
For more information see PSRoot.
PSRoot
# NOT RUN { x<-c("character representaion","other string"); # get the strign length of x stringLengthVector(x) # }
Run the code above in your browser using DataLab