Global.String.prototype.isAlphanumeric ()
function returns true if the string contains only a-z and 0-9 (case insensitive!)

  • Returns
    Boolean true in case string is alpha, false otherwise
Sourcecode in /home/hannes/helma/modules/core/String.js:
247:   String.prototype.isAlphanumeric = function() {
248:       if (!this.length)
249:           return false;
250:       return !String.ANUMPATTERN.test(this);
251:   }