polettif / charray

Handle strings as vectors. Not intended for serious use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

charray

Handle strings (characters) as vectors. Masks [, [<- and + and is thus not suited for any serious application.

x = "abcdefg"
x[1]
#> [1] "a"

x[c(2:3,7)]
#> [1] "bcg"

x[1] <- "A"
x[5:6] <- "."
x
#> [1] "Abcd..g"

"combine" + " strings"
#> [1] "combine strings"

About

Handle strings as vectors. Not intended for serious use.

License:GNU General Public License v3.0


Languages

Language:R 100.0%