port string index to grappa