User Tools

Site Tools


syntax:functions:isemail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
syntax:functions:isemail [2020/11/25 17:41] – created dmitrysyntax:functions:isemail [2021/07/31 02:41] craigt
Line 1: Line 1:
-===== IsEmail(text) =====+====== IsEmail(email_addr) =====
 +Category:  Web function
  
-Returns TRUE if the argument is an email address. The function doesn'check if the email address can receive emails. It only verifies the email address format.+\\  
 +=====Description===== 
 +This function determines if //email_addr// is a properly formatted email address, returning TRUE if so, or FALSE if not. 
 + 
 +\\  
 +=====Arguments===== 
 +^Argument^Type^Description^ 
 +|email_addr  |Text  |A string representing an email address to be tested for proper formatting. 
 + 
 +**Return value type:** Boolean (TRUE/FALSE). 
 + 
 +\\  
 +=====Remarks===== 
 +Returns TRUE if the argument is a properly formatted an email address. The function does not check if the email address can receive emails. It only verifies the email address format.
  
 The function can be used for validating email addresses in datasets and parameters. The function can be used for validating email addresses in datasets and parameters.
  
- Example   Result  ^ +\\  
- isemail('username@example.com'  |  TRUE  |+=====Examples===== 
 + 
 +  isemail('SamT@somewhere.com') = TRUE 
 +  isemail('MaryC@somewhere.somesite.com') = TRUE  //Subdomain acceptable 
 +  isemail('SvetaF@mydomaincom') = FALSE  //Missing the "." in the ".com" at the end 
 +  isemail('adminATthissite.org'= FALSE  //Missing the "@"
  
-=== See also === +\\  
-  * [[syntax:functions:isjson]] +=====See also===== 
-  * [[syntax:functions:isxml]]+  * [[syntax:functions:isjson|IsJson(text)]] 
 +  * [[syntax:functions:isxml|isxml(text)]]
syntax/functions/isemail.txt · Last modified: 2021/09/15 14:39 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki