> What is the BSD function "index" supposed to do? It's not a BSD function. It's (surprise!) an AT&T function. It came with V7 UNIX, which was produced by AT&T and sold by them. > Does anyone know the equivalent on a System V Release 2 machine? Yes. "strchr". The function was renamed at some point. Guy Harris