Data Science Guy
Monday, April 25, 2016
Get The Length Of Each Values In A Column
nchar
takes a character vector as an argument and returns a vector whose elements contain the sizes of the corresponding elements of
x
.
nzchar
is a fast way to find out if elements of a character vector are non-empty strings.
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment