Index Method String Python Example Code