properCase             package:ifultools             R Documentation

_C_a_s_e _c_o_n_v_e_r_s_i_o_n _a_l_a _a _p_r_o_p_e_r _n_o_u_n

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

     Converts a character string with arbitrary case to a character
     string whose first character is capitalized and remaining
     characters are set to lower case.

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

     properCase(x, pre="", post="", sep="")

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

       x: a character string or vector of character strings.

    post: a character string to append to each character string in 'x'
          after conversion. Default: '""'.

     pre: a character string to prepend to each character string in 'x'
          after conversion. Default: '""'.

     sep: a character string that is pasted between the other portions
          of the combined string ala pre-sep-formatted x-sep-post.
          Default: '""'.

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

     a vector of character strings containing the result. The length of
     this vector is equal to 'length(x)'.

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

     'ordinal'.

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

     ## produces "myBasketBall" "mySoccerBall" 
     ## "myFootBall" 
     properCase(c("baSkeT","SoCcEr","foot"),post="Ball",pre="my")

