In R
, I currently have a vector of characters such as:
character.vec
> "File1.mat" "File2.mat" "File3.mat" "File4.mat"
I was wondering if there were any functions to call on character.vec
so that I can get something like:
"File1" "File2" "File3" "File4"
instead. Thanks!