You're close, try these small tweaks:

Lists are iterables, which means its easier to use for-loops than you think:

for x in mylist:
  #do something

Now, the thing you want to do is 1) split x at '@' and 2) add the result to another list.

#In order to add to another list you need to make another list
newlist = []
for x in mylist:
     split_results = x.split('@')
     # Now you have a tuple of the results of your split
     # add the second item to the new list
     newlist.append(split_results[1])

Once you understand that well, you can get fancy and use list comprehension:

newlist = [x.split('@')[1] for x in mylist]
Answer from calico_ on Stack Overflow
🌐
GeeksforGeeks
geeksforgeeks.org › python › extract-list-of-substrings-in-list-of-strings-in-python
Extract List of Substrings in List of Strings in Python - GeeksforGeeks
July 23, 2025 - Working with strings is a fundamental aspect of programming, and Python provides a plethora of methods to manipulate and extract substrings efficiently. When dealing with a list of strings, extracting specific substrings can be a common requirement. In this article, we will explore five simple and commonly used methods to extract substrings from a list of strings in Python.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-find-all-the-strings-that-are-substrings-to-the-given-list-of-strings
Python - Find all the strings that are substrings to the given list of strings - GeeksforGeeks
April 21, 2023 - In this, any() is used to check for substring matching in any of the strings from the string list to be matched in. ... # Python3 code to demonstrate working of # Substring Intersections # Using any() + generator expression # initializing lists ...
🌐
GeeksforGeeks
geeksforgeeks.org › python › create-list-of-substrings-from-list-of-strings-in-python
Create List of Substrings from List of Strings in Python - GeeksforGeeks
July 23, 2025 - Below are some of the ways by which we can create a new list of substrings from the list of strings in Python: In this example, a list comprehension is employed to create a new list, `substring_list`, containing substrings extracted from each string in the `original_list`. The slicing notation `[s[1:4] for s in original_list]` extracts characters from index 1 to 3 (exclusive) from each string in the original list.
🌐
Delft Stack
delftstack.com › home › howto › python › extract substring from a string in python
How to Extract Substring From a String in Python | Delft Stack
February 2, 2024 - Sometimes, while writing programs, we have to access sub-parts of a string. These sub-parts are more commonly known as substrings. A substring is a subset of a string. In Python, we can easily do this task using string slicing or using regular expression or regex.
🌐
GeeksforGeeks
geeksforgeeks.org › extract-substrings-from-a-list-into-a-list-in-python
Extract Substrings From A List Into A List In Python - GeeksforGeeks
February 16, 2024 - List comprehension is a concise and elegant way to create lists in Python. It also proves to be effective for extracting substrings from a list. This approach utilizes a compact syntax to iterate through the elements of the original_list and extracts the first three characters from each string.
🌐
GeeksforGeeks
geeksforgeeks.org › python-finding-strings-with-given-substring-in-list
Finding Strings with Given Substring in List - Python - GeeksforGeeks
January 31, 2025 - Let's discuss certain ways in which this task can be performed using Python.Using partition()To extract the portion of a string that occurs after a specific substring partition() method is an efficient and
Find elsewhere
🌐
YouTube
youtube.com › pythonguides
How to Extract String From List in Python | Python Get String From List | Python Beginner Tutorial - YouTube
In this Python tutorial, you will learn how to extract strings from a list in Python using the indexing, slicing and list comprehension methods.Indexing is a...
Published   April 19, 2024
Views   142
🌐
w3resource
w3resource.com › python-exercises › list › python-data-type-list-exercise-102.php
Python: Extract specified size of strings from a give list of string values - w3resource
# Define a function 'extract_string' that extracts strings of a specified length from a list def extract_string(str_list1, l): # Use a list comprehension to filter strings in 'str_list1' with a length of 'l' result = [e for e in str_list1 if len(e) == l] return result # Create a list 'str_list1' containing strings str_list1 = ['Python', 'list', 'exercises', 'practice', 'solution'] # Print a message indicating the original list print("Original list:") # Print the contents of 'str_list1' print(str_list1) # Set the value of 'l' to 8 l = 8 # Print a message indicating the length of the string to e
🌐
Note.nkmk.me
note.nkmk.me › home › python
Extract a Substring from a String in Python (Position, Regex) | note.nkmk.me
April 29, 2025 - s = 'abcdefghi' print(len(s)) # 9 # print(s[len(s) / 2]) # TypeError: string indices must be integers print(s[len(s) // 2]) # e print(s[:len(s) // 2]) # abcd print(s[len(s) // 2:]) # efghi ... In Python, you can use regular expressions (regex) with the re module of the standard library. ... Use re.search() to extract the first substring that matches a regex pattern.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-all-occurrences-of-substring-from-the-list-of-strings
Python - All occurrences of Substring from the list of strings - GeeksforGeeks
July 15, 2025 - In this, we run a loop to extract all strings and also all substring in the list. The in operator is used to check for substring existence. ... # Python3 code to demonstrate working of # Strings with all Substring Matches # Using loop + in operator # initializing list test_list = ["gfg is best", "gfg is good for CS", "gfg is recommended for CS"] # printing original list print("The original list is : " + str(test_list)) # initializing Substring List subs_list = ["gfg", "CS"] res = [] for sub in test_list: flag = 0 for ele in subs_list: # checking for non existence of # any string if ele not in sub: flag = 1 break if flag == 0: res.append(sub) # printing result print("The extracted values : " + str(res))
🌐
Note.nkmk.me
note.nkmk.me › home › python
Extract and Replace Elements That Meet the Conditions of a List of Strings in Python | note.nkmk.me
May 19, 2023 - Extract, replace, convert elements of a list in Python · You can use the in operator to check if a string contains a specific substring.
🌐
LearnPython.com
learnpython.com › blog › substring-of-string-python
How to Get a Substring of a String in Python | LearnPython.com
April 26, 2022 - Much like arrays and lists in Python, strings can be sliced by specifying the start and the end indexes, inside square brackets and separated by a colon. This returns a substring of the original string. Remember indexing in Python starts from 0.
🌐
Sentry
sentry.io › sentry answers › python › extract a substring from a string in python
Extract a substring from a string in Python
2 weeks ago - Extract substrings from Python strings using slice notation with [start:end] indexes, or use re.search() with regex patterns for matching specific formats
🌐
Python Guides
pythonguides.com › how-to-get-string-values-from-list-in-python
Extract Strings from a List in Python
September 30, 2025 - # Sample list with mixed data data = ["Apple", 10, "Banana", 20, "Cherry", 30] # Create an empty list to store strings only_strings = [] # Loop through each item and check if it's a string for item in data: if isinstance(item, str): only_strings.append(item) print("Extracted Strings:", only_strings) You can refer to the screenshot below to see the output. This method is longer, but it’s very clear and beginner-friendly. I often use this style when teaching Python to new developers in the USA because it’s easy to follow step by step.