I want my python 2.7 program to get the index of specific characters in a string. So like this:
Get the index of the [ and ] brackets in any string. For example:
"Hello World [These brackets] Hello World"
The program should return 12 and 27. Is there any way to make my python program to do this? If not, then I'm out of luck.