Template:PeakCountPerSample: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 85: | Line 85: | ||
var n_symindex = this.value.indexOf("Symbol:");//10 | var n_symindex = this.value.indexOf("Symbol:");//10 | ||
var n_descindex = this.value.indexOf("Description:"); //-7 | var n_descindex = this.value.indexOf("Description:"); //-7 | ||
var sym = this.value. | var sym = this.value.substring(n_symindex +10, n_descindex-7); | ||
return sym; | return sym; | ||
} | } |
Revision as of 16:39, 20 September 2013