Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active December 10, 2018 06:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/bfbeda76ba07627a48a936ce43e7f0a2 to your computer and use it in GitHub Desktop.
Save parzibyte/bfbeda76ba07627a48a936ce43e7f0a2 to your computer and use it in GitHub Desktop.
Split con un separador de múltiples caracteres created by parzibyte - https://repl.it/@parzibyte/Split-con-un-separador-de-multiples-caracteres
cadena = "80Edad:1Edad:20Edad:12Edad:44"
separador = "Edad:"
separado = cadena.split(separador)
print("Separado por 'Edad:' es:", separado)
# ['80', '1', '20', '12', '44']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment