# How can I exclude the comas?

**URL:** <https://forum.kirupa.com/t/how-can-i-exclude-the-comas/38660>\
**Category:** Uncategorized\
**Created:** [December 27, 2003, 8:01pm UTC](https://forum.kirupa.com/t/how-can-i-exclude-the-comas/38660 "2003-12-27T20:01:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![caetano](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@caetano](https://forum.kirupa.com/u/caetano)\
**Post date:** [December 27, 2003, 8:01pm UTC](https://forum.kirupa.com/t/how-can-i-exclude-the-comas/38660/1 "2003-12-27T20:01:35Z")

</div>

This is an excert of my program:

[AS]for (n=0;n\<t/2;n++){  
tabela1 = tabela1.concat(sorteio[n],"  
");  
}[/AS]

and the problem is that the words apear between comas.

Keep the good work

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2003, 8:25pm UTC](https://forum.kirupa.com/t/how-can-i-exclude-the-comas/38660/2 "2003-12-27T20:25:14Z")

</div>

I assume that somewhere you’re using sorteio?

for instance:

```auto

trace(sorteio);
//or
my_text.text = sorteio

```

Try replacing sorteio with sorteio.join("");

the above examples would become:

```auto

trace(sorteio.join(""));
//or
my_text.text = sorteio.join("");

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2003, 9:23pm UTC](https://forum.kirupa.com/t/how-can-i-exclude-the-comas/38660/3 "2003-12-27T21:23:50Z")

</div>

thanks for the help, but the output is a dinamic text, whit the name tabela1, I forgot to tell that
