Javascript String GetEmailHost()

Description

Javascript String GetEmailHost()

String.prototype.GetEmailHost = function () {
    if (this.IsEmail()) {
        return this.split('@')[1];
    }/*from  www  .j  a v a  2  s . co  m*/

    return false;
}



PreviousNext

Related