Team:Warsaw/JSTest

From 2008.igem.org

(Difference between revisions)
Line 93: Line 93:
function trimStr(str)
function trimStr(str)
{
{
 +
if (str==undefined) return "";
return str.replace(/^\s+|\s+$/g, '');
return str.replace(/^\s+|\s+$/g, '');
}
}

Revision as of 00:41, 26 October 2008

Gallery Bricks Notebook Team Project Home