Team:Warsaw/JSTest
From 2008.igem.org
(Difference between revisions)
Line 89: | Line 89: | ||
return ans.substr(titlepos+title.length,endpos-titlepos); | return ans.substr(titlepos+title.length,endpos-titlepos); | ||
+ | } | ||
+ | |||
+ | function trim(str) | ||
+ | { | ||
+ | return str.replace(/^\s+|\s+$/g, '') ; | ||
} | } | ||
Revision as of 00:20, 26 October 2008
|