Skip to content
Prev 301445 / 398506 Next

How can I access an element of a string?

Dear Miao,

substr() ius waht you want.

substr("ABCD", 2,2)
[1] "B"

Cheers,
Henrik

jpm miao schrieb: