Articles → Python → Split Function In Python

Split Function In Python






Purpose





Example


message = "This, is, the, test, string"

print( message.split(","))



Output


Picture showing the output of Split function in python



Posted By  -  Karan Gupta
 
Posted On  -  Monday, February 25, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250