# How to do a text-parser?

**URL:** <https://rpi-rgb-led-matrix.discourse.group/t/how-to-do-a-text-parser/434>\
**Category:** Uncategorized\
**Created:** [February 16, 2022, 12:28pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/how-to-do-a-text-parser/434 "2022-02-16T12:28:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dreinale](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@Dreinale](https://rpi-rgb-led-matrix.discourse.group/u/Dreinale)\
**Post date:** [February 16, 2022, 12:28pm UTC](https://rpi-rgb-led-matrix.discourse.group/t/how-to-do-a-text-parser/434/1 "2022-02-16T12:28:27Z")

</div>

Hi,  
i try to do a text parser for utils/text-scroller.cc because we can’t see all of the string when his length is bigger than the panel length.  
Please help me for that parser.

(ex: panel 32x32 → Hi my name is Ben  
i want on the pannel:  
Hi my  
name  
is  
Ben)

---

<div class="post-metadata">

**Author:** ![datagod](https://yyz2.discourse-cdn.com/free1/user_avatar/rpi-rgb-led-matrix.discourse.group/datagod/32/148_2.png) [@datagod](https://rpi-rgb-led-matrix.discourse.group/u/datagod)\
**Post date:** [February 21, 2022, 5:01am UTC](https://rpi-rgb-led-matrix.discourse.group/t/how-to-do-a-text-parser/434/2 "2022-02-21T05:01:29Z")

</div>

This might be overkill, but if you look at one of my programs you will find the commands I use to scroll text vertically, just like you are saying.

> <https://github.com/datagod/LEDarcade/blob/main/Tron.py>

LEDarcade is the library I created that allows you to do amazing things with LED panels.
