home *** CD-ROM | disk | FTP | other *** search
-
- _S_p_l_i_t _t_h_e _S_t_r_i_n_g_s _i_n _a _V_e_c_t_o_r
-
- strsplit(x,split)
-
- _D_e_s_c_r_i_p_t_i_o_n:
-
- strsplit takes two arguments. A character vector to
- split, x, and a character string, split, to use as
- splits (this can also be a vector). It returns a list
- each element of which contains the vector of splits.
-
- _S_e_e _A_l_s_o:
-
- paste, nchar, substr
-
- _E_x_a_m_p_l_e_s:
-
- x <- c("asfef","qwerty","yuiop[","b","stuff.blah.yech")
- #split x on the letter e
- strsplit(x,"e")
-
-