Monday, 22 May 2017

String into array (nodejs)

I have a string of integers

str = "[7,2,7,7,2,7,7,4,3,2]"

and i want to get an array so that i can manipulate the data easily, but i have no idea how to do it. Can you help me ? I'm sure it's a basic task but i am not very familiar with node.

Thank you.



via Blazzfreezz

No comments:

Post a Comment