t262.py 241 B

12345678
  1. print " hello ".strip()
  2. print " hello ".lstrip()
  3. print " hello ".rstrip()
  4. print " hello ".partition("l")
  5. print " hello ".rpartition("l")
  6. print " HELlo ".lower()
  7. print " heLLO ".upper()
  8. print "hi there".split(" ")