find the first occurrence of a character in a array python code example
Example: find first instance of character in string python
mystring.findfirstindex('dude') # should return 4
mystring.findfirstindex('dude') # should return 4