Convert d_string to an index, if it is one.
* true it's an index, and *index is set * false it's not an index
See Implementation
Convert d_string to an index, if it is one.