Friday, November 20, 2015

Reading a Text String into an Array Project

Split a string object into an array of strings:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split

Substitute '+' characters for spaces in each array element:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace

Work with the Array:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

No comments:

Post a Comment