Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 9, 2022 00:49
Show Gist options
  • Save parzibyte/e3ab15d0b121cb4403cbd378fc456f7e to your computer and use it in GitHub Desktop.
Save parzibyte/e3ab15d0b121cb4403cbd378fc456f7e to your computer and use it in GitHub Desktop.
int indicePunto = indiceDeCaracterEnCadena(correo, '.');
int indiceArroba = indiceDeCaracterEnCadena(correo, '@');
if (indicePunto == -1 || indiceArroba == -1)
{
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment