trimWhiteSpace             package:limma             R Documentation

_T_r_i_m _L_e_a_d_i_n_g _a_n_d _T_r_a_i_l_i_n_g _W_h_i_t_e _S_p_a_c_e

_D_e_s_c_r_i_p_t_i_o_n:

     Trims leading and trailing white space from character strings.

_U_s_a_g_e:

     trimWhiteSpace(x)

_A_r_g_u_m_e_n_t_s:

       x: character vector

_V_a_l_u_e:

     A character vector of the same length as 'x' in which leading and
     trailing white space has been stripped off each value.

_A_u_t_h_o_r(_s):

     Tim Beissbarth and Gordon Smyth

_S_e_e _A_l_s_o:

     An overview of LIMMA functions for reading data is given in
     03.ReadingData.

_E_x_a_m_p_l_e_s:

     x <- c("a "," b ")
     trimWhiteSpace(x)

