Template:PeakCountPerSample: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 84: | Line 84: | ||
formatter: function() { | formatter: function() { | ||
var n_symindex = this.value.indexOf("Symbol:");//1 | var n_symindex = this.value.indexOf("Symbol:");//1 | ||
var n_descindex = this.value.indexOf(" | var n_descindex = this.value.indexOf("Description:"); //-2 | ||
var sym = string. | var sym = string.substr(n_symindex +1, n_descindex-2); | ||
return sym; | return sym; | ||
} | } |
Revision as of 16:27, 20 September 2013