Split string when “;” appears [duplicate]

res = words.split(";")

Refer to this link for more information on split.

Leave a Comment