lscut (4) --- divide a linked string into two linked strings 02/25/80 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n pointer function lscut (ptr1, pos, ptr2) pointer ptr1, ptr2 integer pos Library: vlslb _F_u_n_c_t_i_o_n The string specified by 'ptr1' is divided following position 'pos'. The first half of the string is returned in 'ptr1', and the second half is returned in 'ptr2' and as the value of the function. _I_m_p_l_e_m_e_n_t_a_t_i_o_n The string specified by 'ptr1' is positioned with 'lspos' to position 'pos'. A new string of length 1 is allocated, and the character at position 'pos' is placed in the new string. A pointer is placed in position 'pos' to the new string. 'Ptr2' and the function are given the value of the string position after position 'pos'. _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d ptr1, ptr2 _C_a_l_l_s lsallo, lsgetc, lspos, lsputc _B_u_g_s Locally supported. _S_e_e _A_l_s_o lsjoin (4), lssubs (4) lscut (4) - 1 - lscut (4)