split Without Arguments : Split : String PYTHON TUTORIALS


PYTHON TUTORIALS » String » Split »

 

split Without Arguments


s = "this   isnattest"                  
print s 
print s.split()                                
print " ".join(s.split())



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo String
» Split