# Loading text into columns

**URL:** <https://forum.kirupa.com/t/loading-text-into-columns/134840>\
**Category:** Uncategorized\
**Created:** [January 21, 2005, 11:42pm UTC](https://forum.kirupa.com/t/loading-text-into-columns/134840 "2005-01-21T23:42:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerryj](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jerryj](https://forum.kirupa.com/u/jerryj)\
**Post date:** [January 21, 2005, 11:42pm UTC](https://forum.kirupa.com/t/loading-text-into-columns/134840/1 "2005-01-21T23:42:25Z")

</div>

hi,  
does anyone know if you can load text from an external textfile into two columns, going to the second when the first is filled??

I only found this (okay, three columns, but I mean the text here is not externally loaded)

> 

article = “The Norwegian hacker famous for blablabla.”;  
words = article.split(" “);  
targetColumn = 1;  
for (i=0; i\<words.length; i++) {  
this[“col”+targetColumn].text += words\*+” ";  
if (this[“col”+targetColumn].maxscroll\>1) {  
i–;  
targetColumn++;  
}  
}

Maybe I could load my external text into such a string, does anyone jnow how to do that?

Thank you,  
Jerryj.
