name = 'Nasreen is Learning Python Selenium'

value = "1abc2abc3abc4abc"



print(type(name))
print(name)
print(name[0])
print(name.upper())
print(name.lower())
print(name.capitalize())
print("Total no of times the char repeat: ",name.count("Nasreen"))
print("Total char in the string: "+str(len(name)))
print(name[0:10])
print(name[::-1])
print(value,"--->",value.replace("abc","ABC"))
print(value,"--->",value.replace("abc","ABC",2))

username = "Arvind_456789"

print(username.split("_")[0])
print(username.split("_")[1])


