# Text() don't recognize \\t tabulator

**URL:** <https://discourse.processing.org/t/text-dont-recognize-t-tabulator/9572>\
**Category:** Coding Questions\
**Created:** [March 24, 2019, 11:52am UTC](https://discourse.processing.org/t/text-dont-recognize-t-tabulator/9572 "2019-03-24T11:52:02Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [March 26, 2019, 1:02pm UTC](https://discourse.processing.org/t/text-dont-recognize-t-tabulator/9572/11 "2019-03-26T13:02:50Z")

</div>

how about this example:  
[Storing String Data in Arrays?](https://discourse.processing.org/t/storing-string-data-in-arrays/9347/11) ?  
sorry that code is for a file with a header line,  
and contains a cell editor you might not need

anyhow you never tell us where you get that data file from,  
can it be created as

- CSV ( “,” separator ) and also named .csv
- have a meaningful header line

once the data are in a table ( array ) the output for swap rows / columns  
should be more easy.

```auto
Table datos; 

void setup() {
  size(500,500);
  datos = loadTable("data/Datos.txt", "tsv"); 
//}

// void draw() {
  background(0);
  for (int r = 0;r < datos.getRowCount() ; r++) for (int c =0;c < datos.getColumnCount() ; c++) text(datos.getString(r,c),10+c*60,(r+1)*20);
// for (int r = 0;r < datos.getColumnCount() ; r++) for (int c =0;c < datos.getRowCount() ; c++) text(datos.getString(c,r),10+c*70,(r+1)*20);

}

```

 ![SNAG-0023](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/f5b2b1eb8b5a2627ae0e7643a56b4c6d167e6f4b.jpeg)  
 ![SNAG-0022](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/ed6e80fcdedf3fea720c0f9bade45c0e62e40a79.jpeg)

---

_[View the full topic](https://discourse.processing.org/t/text-dont-recognize-t-tabulator/9572)._
