'''
Created on Apr. 5, 2019

@author: milinpatel
'''
a = "MilinPatel"

print(a.startswith("Milin")) # True as Milin is Start/Prefix of String

print(a.endswith("Patel")) # True as Patel is Ends with/ sufix of string

print(a.find("Pat")) # 5 because "Pat" is at fix index so it returns 5 