You are viewing a single comment's thread from:
RE: The loops of spring.
Yes that is better :)
Not much code to traverse a string, hunt for usernames, and add to a new list!
so the string could be 'nope, @abh12345, dggggg@ned'?
will ned (with @) still get moved to the new list?
❌ that won’t work because “@“ has to be at index 0 for the string to be deemed a username 💮
so is the first list an array of strings, some are usernames and some aren't?
Yep :)