Mega Code Archive

 
Categories / Python Tutorial / String
 

To clear or remove a string, you assign an empty string or use the del statement, respectively

aString = '' print aString del aString