Node.js examples for String:String Value
Compare one string to another
String.prototype.compareTo = function(other) { if (this < other) return -1;// w w w .j a v a 2s .c om if (other < this) return 1; return 0; }