trim                  package:R.oo                  R Documentation

_C_o_n_v_e_r_t_s _t_o _a _s_t_r_i_n_g _a_n_d _r_e_m_o_v_e_s _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:

     Converts to a string and removes leading and trailing whitespace.

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

     ## Default S3 method:
     trim(object, ...)

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

  object: A 'vector' of R objects to be trimmed.

     ...: Not used.

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

     Returns a 'vector' of 'character' strings.

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

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

