String indexing example added (#30300)
String indexing example added (#30300)

* String indexing example added

* Update index.md

FreeCodeCamp/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,raisedadead/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp,raisedadead/FreeCodeCamp,jonathanihm/freeCodeCamp,FreeCodeCamp/FreeCodeCamp,jonathanihm/freeCodeCamp