str_chop | R Documentation |
str_chop() lets you chop strings into pieces by fixed length.
str_chop(string, length = 1)
string |
A string in vector or list format. |
length |
Length of string pieces |
A list.
x <- paste(letters, collapse = "") str_chop(x) str_chop(x, 2) str_chop(x, 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.