Parse variable subscripts