This commit is contained in:
Andreas Österreicher
2008-02-29 11:56:07 +00:00
parent 06f569bf4c
commit 2e29ab60da
7 changed files with 28 additions and 5 deletions
+7
View File
@@ -231,4 +231,11 @@ function getTreeCellText(tree, col, idx)
{
col = tree.columns ? tree.columns[col] : col;
return tree.view.getCellText(idx, col);
}
// ****
// * Trim Member Function fuer Strings
// ****
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g,"");
}