Numpy Structured Array Indexing Javascript Substring Indexof