R doesn't have any scalar string objects: it only has character vectors. What kind of indexing are you referring to? Substrings?