VLV: avoid name conflict with string.h's index()