word 'bananaindex word find(' 'print(index in this examplewe invoke find on word and pass the letter we are looking for as parameter the find method can find substrings as well as charactersword find('na' it can take as second argument the index where it should startword find('na' one common task is to remove white space (spacestabsor newlinesfrom the beginning and end of string using the strip methodline here we go line strip('here we gosome methods such as startswith return boolean values line 'have nice dayline startswith('have'true line startswith(' 'false you will note that startswith requires case to matchso sometimes we take line and map it all to lowercase before we do any checking using the lower method line 'have nice dayline startswith(' 'false line lower('have nice dayline lower(startswith(' 'true in the last examplethe method lower is called and then we use startswith to see if the resulting lowercase string starts with the letter "has long as we are careful with the orderwe can make multiple method calls in single expression