get_middle_fragment | R Documentation |
Returns an uppercase slice of size size
from each string supplied, centered
on the middle position of the string. Useful to slice out middles from
sequence fragments.
get_middle_fragment(string_vec, size)
string_vec |
A character vector of strings, all at least size |
size |
The size of the returned middle fragments, as an uneven integer. |
An all-uppercase character vector, of the same length as the string_vec
input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.