how to change '(1,2,3,4)' to '1,2,3,4'
Posted
by zjm1126
on Stack Overflow
See other posts from Stack Overflow
or by zjm1126
Published on 2010-04-05T09:49:57Z
Indexed on
2010/04/05
9:53 UTC
Read the original article
Hit count: 96
JavaScript
|string
this is my code:
var a='(1,2,3,4)'
a=a.slice(-1,1)
alert(a)
and i print nothing.
thanks
© Stack Overflow or respective owner