Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

split function python

  s="ab.1e.1e3"
  w = s.split('.1')
  // w is ["ab","e","e3"]
  // use help(str.split) in your python IDE to know split in detail.
Source by www.kdnuggets.com #
 
PREVIOUS NEXT
Tagged: #split #function #python
ADD COMMENT
Topic
Name
7+6 =