
-----------------------------------
Thuged_Out_G
Sat Mar 18, 2006 3:43 am

Javascript help
-----------------------------------
what im trying to do is run a string through a function, that will remove all comma's from the string
Also, is there is a way after the string has been stripped of all comma's to change it to an int
similar to turing's strint command

here is what i have come up with so far


function check(var1) {
var comma=new Array[var1.lastIndexOf(",")]
for(i=0;i