Team:Warsaw/JSTest
From 2008.igem.org
(Difference between revisions)
Line 88: | Line 88: | ||
if (endpos<0) return ans.substr(titlepos+title.length,ans.length-titlepos); | if (endpos<0) return ans.substr(titlepos+title.length,ans.length-titlepos); | ||
- | return ans.substr(titlepos+title.length,endpos | + | return ans.substr(titlepos+title.length,endpos-titlepos); |
} | } | ||
Revision as of 22:50, 25 October 2008
|