Sign InSign Up

Rocketbot Forum

Rocketbot Forum Logo Rocketbot Forum Logo

Rocketbot Forum Navigation

  • Academy Rocketbot
  • Tutorials
  • Documentación
Search
Ask A Question

Mobile menu

Close
  • Home
  • Popular
  • Categories
  • Tags
  • Questions
    • New Questions
    • Most voted
    • Most visited
    • Most Responded
  • Academy Rocketbot
  • Tutorials
  • Documentación
Home/ Questions/Q 2363
Next
In Process

Rocketbot Forum Latest Questions

eduardo
  • 0
  • 0
eduardo
Asked: March 26, 20212021-03-26T23:49:12+00:00 2021-03-26T23:49:12+00:00In: Comandos

Validar correo

  • 0
  • 0

Buenas noches , tengo una variable que contiene el email (edu@gmail.com, lo que quiero es validar que no sea nula, lo que hice fue :

en if :

{correo} != «» o  {correo} != » o @ in {correo}

pero me manda error , me dice «name edu is not defined»

por favor su apoyo

nota : lo rato es que si es un numero celular (999999999)  si sale bien ({celular} != «»)

 

 

validar
1
  • 1 1 Answer
  • 5k Views
  • 0 Followers
  • 0
Share
  • Facebook

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. Bender
      Bender
      2021-03-29T13:44:54+00:00Added an answer on March 29, 2021 at 1:44 pm

      Hola eduardo

      Cuando la variable contiene string debes pasarla en doble comilla, por ejemplo:

      "{correo}" != ""

      "@" in "{correo}"

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.


    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Ask A Question

    Stats

    • Questions : 1k
    • Answers : 2k
    • Posts : 0
    • Comments : 0
    • Best Answers : 163
    • Users : 5k
    • Popular
    • Comments
    • Tags

    Related Questions

      • Answers: 0

      Eld.gg Path of Exile 2 Currency: Looting in multiplayer

      • Answers: 0

      Obtener URL actual PDF en nueva pestaña

      • Answers: 0

      Obtener URL actual PDF en nueva pestaña

      • Answers: 3

      Problema con typing_extensions al usar EasyOCR en RocketBot

      • Answer: 1

      Error al importar una libreria python

    Users

    Explore

    • Home
    • Popular
    • Categories
    • Tags
    • Questions
      • New Questions
      • Most voted
      • Most visited
      • Most Responded

    Footer

    rocketbot white

    Rocketbot SpA | Todos los derechos reservados 2018 - 2020

    © 2020 Discy. All Rights Reserved
    With Love by 2code.

    en_US
    es_ES en_US

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.