# Joining strings

**URL:** <https://forum.kirupa.com/t/joining-strings/165565>\
**Category:** flash\
**Created:** [October 12, 2005, 4:16am UTC](https://forum.kirupa.com/t/joining-strings/165565 "2005-10-12T04:16:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chapster](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@chapster](https://forum.kirupa.com/u/chapster)\
**Post date:** [October 12, 2005, 4:16am UTC](https://forum.kirupa.com/t/joining-strings/165565/1 "2005-10-12T04:16:15Z")

</div>

I have two xml nodes with html content in them. I need to know how I can join those two values together in flash as one string and keeping the html layout.

for example:

```auto
 

<nodeA><![CDATA[<font color="#0000FF">Some text</font>]]></nodeA>
<nodeB><![CDATA[<font color="#000000">other half of text</font>]]></nodeB>

```

So I load my xml get my node values for both but now I want to join them and place them in a textfiled set to html so the text from nodeA will keep its color and the text from nodeB will keep its color but they will be all in one textfield.

I presume this can be done.

Thanks
