# Suggestions for parsing ASP string

**URL:** <https://forum.kirupa.com/t/suggestions-for-parsing-asp-string/256794>\
**Category:** Uncategorized\
**Created:** [April 7, 2008, 1:48pm UTC](https://forum.kirupa.com/t/suggestions-for-parsing-asp-string/256794 "2008-04-07T13:48:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![colorful\_tones](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/colorful_tones/32/3009_2.png) [@colorful\_tones](https://forum.kirupa.com/u/colorful_tones)\
**Post date:** [April 7, 2008, 1:48pm UTC](https://forum.kirupa.com/t/suggestions-for-parsing-asp-string/256794/1 "2008-04-07T13:48:44Z")

</div>

I’m trying to build an image gallery with a backend connection. My ASP is returning the following string format;

```auto
[COLOR=DarkRed]uniqueid=1,mm_name=bluehills.jpg,mm_path=img/req1,mm_keywords=keyword1[/COLOR]&[COLOR=Blue]uniqueid=2,mm_name=satellite_map.jpg,mm_path=img/req2,mm_keywords=map satellite[/COLOR]&[COLOR=DarkOliveGreen]uniqueid=3,mm_name=robot.jpg,mm_path=img/req2,mm_keywords=robot black and white[/COLOR]

```

i’m not sure of the best way to parse the string in AS3? I’m looking for suggestions. I imagine a custom XML parsing class? I’d like to bind certain variable to repeater and I need to concatenate things like image path from the string (i.e. “mm\_path + mm\_name = img/req1/bluehills.jpg”).

I’m looking for any suggestions on what road to take and perhaps any links for previous examples? Preemptive double-thank you!
