take (1) --- take characters from a string (APL style) 03/20/80 _U_s_a_g_e take _D_e_s_c_r_i_p_t_i_o_n 'Take' can be used to extract substrings from the beginning or end of a string. It is essentially identical in function to APL's dyadic take operator as applied to character vec- tors. The absolute value of the first argument specifies the num- ber of characters to be taken (with blank padding, if the source string is not long enough.) If it is positive, characters are taken from the beginning of ; other- wise, characters are taken from the end of . Other useful string-handling commands are 'drop', 'index', and 'substr'. _E_x_a_m_p_l_e_s take 6 [filename] take -2 [source_file] take 2 [date] take 3 [day] _S_e_e _A_l_s_o drop (1), index (1), substr (1), stake (2), sdrop (2) take (1) - 1 - take (1)