index (1) --- find index of a character in a string 03/20/80 _U_s_a_g_e index _D_e_s_c_r_i_p_t_i_o_n 'Index' is a version of the PL/I index function. The string specified as the first argument is searched for an occurrence of the character specified as the second argument; if the character is found, 'index' prints its location in the string (first character in the string is at position 1) on standard output. If the character is not found, zero is printed. 'Index' is equivalent to the 'index' subprogram available in the standard Software Tools Subsystem library. _E_x_a_m_p_l_e_s index "abcdefghijklmnopqrstuvwxyz" a index [upalf] a take [index [string] " "]] [string] _B_u_g_s None, unless you consider the argument order a bug. _S_e_e _A_l_s_o take (1), drop (1), substr (1), index (2) index (1) - 1 - index (1)