res = words.split(";")
Refer to this link for more information on split.
More Related Contents:
- Python String concatenation with in double quotes [closed]
- User input integer list [duplicate]
- TypeError: a bytes-like object is required, not ‘str’ when writing to a file in Python 3
- How to read a text file into a string variable and strip newlines?
- How to sort a list of strings?
- How to get the position of a character in Python?
- What does % do to strings in Python?
- Removing numbers from string [closed]
- Escape special characters in a Python string
- How to “properly” print a list?
- Extract a string between double quotes
- Determine prefix from a set of (similar) strings
- Keeping only certain characters in a string using Python?
- What does a leading `\x` mean in a Python string `\xaa`
- How do I serialize a Python dictionary into a string, and then back to a dictionary?
- Python reverse-stride slicing
- How to sort the letters in a string alphabetically in Python
- Print all items in a list with a delimiter
- Python: ‘str’ object is not callable
- How to explain the reverse of a sequence by slice notation a[::-1]
- Element-wise string concatenation in numpy
- How can I copy a Python string?
- FutureWarning: The default value of regex will change from True to False in a future version
- Reverse a string without using reversed() or [::-1]?
- Are strings pooled in Python?
- How can I check if a string has a numeric value in it in Python? [duplicate]
- Python string operation, extract text between html tags
- get python dictionary from string containing key value pairs
- Mutable and Immutable Strings in python
- Detect whether a Python string is a number or a letter [duplicate]