This commit is contained in:
Andreas Österreicher
2009-06-17 15:42:39 +00:00
parent 4e1e6a05ec
commit ed6df5063a
5 changed files with 36 additions and 5 deletions
+7 -1
View File
@@ -238,4 +238,10 @@ function getTreeCellText(tree, col, idx)
// ****
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g,"");
}
}
// ****
// * StartsWidth Member Function fuer Strings
// ****
String.prototype.startsWith = function(str)
{return (this.match("^"+str)==str)}