Friday, April 7, 2017

cvs to symbol list 3

get list
original         v2         this isv3:final
notes         the list         thoughts
the assignments


<textarea id="bga20170407f1108i"></textarea>

<a href="javascript:bga20170407f1108()" style="color: violet; font-size: 2em;">get list</a>


<script>



function bga20170407f1108() {

var i = document.getElementById("bga20170407f1108i")
var thecvs = i.value
var thecvsarray = thecvs.split("\n")
var thesymbolarray = []
for (var n = 0; n < thecvsarray.length; n = n + 1) {
// var thesymbol = thecvsarray[i].split('","')[0].split('"')[1]
// thesymbolarray.push(thesymbol)}
var thesymbol = thecvsarray[n].split('","')[0].split('"')[1] // found it
thesymbolarray.push(thesymbol)}
i.value = thesymbolarray.toString()


}





</script>

No comments:

Post a Comment