Split a list of multiple items, based on a specific karakter in each item


I was wondering if/how it would be possible to split a list (with multiple items) based on a specific character/number of the item itself.

I would like to split the list with items based on the value behing the @ value for all items;

So in the end I would like to have 3 lists:




thank you in advance :slight_smile:

Like this?

Ahh thanks! exactly what I needed :)!

one more question if you dont mind, do you have an simple manner to split a list is 2 list depending on the presence of the @?

thanks again!

There will be so many ways. Here is one:
The expression at the end of List Length is x-1

In Python you could do something like this:

a = []
b = []

for i in x:
    if "@" in i:

1 Like

Great thank you soo much! :+1: :+1: