<oog> > i=index(cs1,cs2) > The BSD 'index' searches for a single character in a string, the fortran 'index' above searches for a substring within an outer string. The BSD 'index' is exactly the same as V.2 'strchr', ditto for BSD 'rindex' and V.2 'strrchr' Paul Campbell ..!ucbvax!unisoft!paul