strip               package:clim.pact               R Documentation

_S_t_r_i_n_g _o_p_e_r_a_t_i_o_n _f_u_n_c_t_i_o_n_s

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

     The function strips off trailing space (strips the strings by
     cutting off at the first space).

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

     strip(string.array

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

string.array: Strings or arrays of strings.

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

     converted strings or arrays of strings.

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

     R.E. Benestad

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

            print(upper.case(c("qwerty  e","asdf  rT")))       #  "QWERTY" "ASDF"
            print(lower.case(c("QWERTY","ASDF")))              #  "qwErty" "asdf"
            print(strip(c("Hello there!","Oslo"," ","NA ")))   # "Hello" "Oslo"  " "     "NA"

