Description Usage Arguments Value Examples
View source: R/split_n_characters.R
Function splits a string every n characters and returns a list.
1 | split_n_characters(x, n = 3)
|
x |
Character vector |
n |
Integer - number of characters to split the string(s) on. Defaults to 3. |
List of character vectors broken into chunks of n characters
1 2 | split_n_characters('ACTGACGGG')
split_n_characters('This is a sentence.', n = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.