Javascript String firstChar()
firstChar()
String.prototype.firstChar = function() { return this.substring(0, 1); };