 There are many times when programs get input with multiple items separated by a delimiter. For example, a date in the format used in France with day, month, and year separated by slashes. Or a U.S. phone number with area code, prefix, and number separated by dashes. Or a series of data items separated by commas, like this product name, color, and price. We would like a way to split these things into a list of their constituent parts. And we can do that with the split method. It's a string method that splits a string into a list. You give a string variable to split, and the delimiter to use as the separator. Let's see it in action. Let's look at the date first. Date parts will be the list that we get when we take the date string and split it with slash as our delimiter. And there's our list. Let's do the same for the phone number. The phone parts becomes phone.split, and this time we use a dash as the delimiter to get this list. And now the product. The product parts becomes product.split, and this time our delimiter will be more than one character. We're going to split on comma followed by space, and there's the list. Notice that these lists are lists of strings. If I wanted to get the tax on the product price, I'd have to convert it to a number. For example, I'd set price to be the float of product parts sub 2. There's no quote marks. It's a real number, and I can use it in a calculation to get a 7.5% tax rate. If you use split without any argument for a delimiter, it splits on white space. Any run of blanks, tabs, or new lines. Here's a sentence with lots of extra blanks in it. Let's split it on white space by leaving off the argument, and there are the individual words. The opposite of the split method is the join method, which takes a list and makes it into a string. You give it a delimiter to use when it joins the list items together. Let's work with that list of lottery numbers first. We'll set our delimiter to be a dash. Then we can join the lottery numbers into a winning string. Winner becomes delimiter.join of the list of lottery numbers, and there it is. Just as with split, the delimiter doesn't have to be a single character. We can join these forms of the verb to be into a single string with a semicolon and space as a delimiter. You can specify the delimiter directly. You don't have to create a new variable. I'll use this delimiter to join the items in the list to be, and there's the result. This notation looks completely inside out and backwards, but I didn't make the rules. Those are the split and join methods. They let you split a string into a list of strings, and they let you join a list of strings back into a single string.