error


SUBMITTED BY: Guest

DATE: Feb. 17, 2014, 10:22 p.m.

FORMAT: Text only

SIZE: 289 Bytes

HITS: 1632

  1. str = "1234556789"
  2. ["12345","56789"]
  3. str = "12345/56789"
  4. print str.split('/') # => ["12345", "56789"]
  5. str = '1234556789'
  6. print str.split('\') # => ["12345", "56789"]

comments powered by Disqus