

            stake (2) --- take characters from a string APL-style    03/23/80


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function stake (from, to, length)
                 character from (ARB), to (ARB)
                 integer length

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Stake'   copies  the  number  of  characters  specified  by
                 'length' from the 'from' string into  the  'to'  string  and
                 returns  as  its result the number of characters copied.  If
                 'length' is positive, the characters  are  copied  from  the
                 beginning of 'from'; if it is negative, they are copied from
                 the end of 'from'.


            _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d

                 to


            _C_a_l_l_s

                 ctoc, length, scopy


            _S_e_e _A_l_s_o

                 sdrop (2), index (2), substr (2), take (1)


























            stake (2)                     - 1 -                     stake (2)


