print "foo".count('o')
print "foo".count('')
print "foobar".count("foo")
print "foobar".count('xom')

print "foobar".ljust(10)

print ":"+"123456".center(10)+":"
print ":"+"12345".center(10)+":"
print ":"+"1234".center(10)+":"

print "foobar".rfind('r')
print "foobar".capitalize()
