Borje Posted September 29, 2020 Posted September 29, 2020 (edited) $mailadress = InputBox("Question", "Your email?", "", "", _ -1, -1, 0, 0) IF not $mailadress = "@" Then MsgBox(4096, "Result1" , $mailadress) Else MsgBox(4096, "Result2" , $mailadress) EndIf How to get a check on whether there is an @ somewhere in the string and should then be accepted and if there is no @ in the string then it should not be accepted. Edited September 29, 2020 by Borje
seadoggie01 Posted September 29, 2020 Posted September 29, 2020 StringInStr (String In String) All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types
Borje Posted September 29, 2020 Author Posted September 29, 2020 Many thanks seadoggie01 that works perfect..
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now