Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 10, 2018 06:48
Show Gist options
  • Save parzibyte/9e05ff342690123c110a5bc91a029e8f to your computer and use it in GitHub Desktop.
Save parzibyte/9e05ff342690123c110a5bc91a029e8f to your computer and use it in GitHub Desktop.
Algunos usos de split-1 created by parzibyte - https://repl.it/@parzibyte/Algunos-usos-de-split-1
correo = "contacto@parzibyte.me"
separador = "@"
separado = correo.split(separador)
print("El usuario es {} y el dominio {}".format(separado[0], separado[1]))
# El usuario es contacto y el dominio parzibyte.me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment