# AS2:: Adding string values to an Array

**URL:** <https://forum.kirupa.com/t/as2-adding-string-values-to-an-array/244620>\
**Category:** flash\
**Created:** [November 20, 2007, 10:01am UTC](https://forum.kirupa.com/t/as2-adding-string-values-to-an-array/244620 "2007-11-20T10:01:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilleypants](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Post date:** [November 20, 2007, 10:01am UTC](https://forum.kirupa.com/t/as2-adding-string-values-to-an-array/244620/1 "2007-11-20T10:01:43Z")

</div>

I’m not too sure how to go about this or if it is possible. But is it possible to add the values from a string to an array?

For example my string looks like this:

var bookmarks:String = “book1, book2, book3”;

And I need to add these values to the end of an array?

Thanks for any advice or help.
