Sequence length in the bstr sequences.

bstr_length(bstrobj)

dstr_length(bstrobj)

astr_length(bstrobj)

Arguments

bstrobj

bstr class object or character vector

Examples

test <- c("ATG", "cc tgAGT2--") bstr_length(test)
#> [1] 3 11
bstr_length(NA_character_)
#> [1] NA