data-raw/stringOpertation_test.R

library(tsda);
#测试向量的功能,与EXCEL中的LEN功能相同
len(letters);
tzn<-timeZoneNames();

help('find',"utils");

?? left


left(tzn,4);

max(len(tzn));
str_sub


tzn_h <-head(tzn);
tzn_h;
right(tzn_h,5);
stringr::str_sub(tzn_h,4,);

tzn_h;
(right(tzn_h,5));

ttt<-right(tzn_h,6);
ttt;tt;
right(tzn,3);

str_sub(tzn,3,4);

tzn;
mid(tzn,2,3);
takewiki/tsdo documentation built on July 5, 2023, 10:57 p.m.