substring location match