String Python

line = "i'mSPAMaSPAMlumberjack"
print line.split("SPAM")