Name

.split()

Examples
alphabet = 'a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z'
for letter in alphabet.split(','):  # Split letters by ','.
    print(letter)  # Print each letter on a separate line.
Description
Syntax
str.split(sep)
str.split(sep,num)
Parameters
sep
num
Related string
String Formatting
.find()
.join()
.split()
.replace()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License