# Splitting up a sentence into different strings

**URL:** <https://forum.kirupa.com/t/splitting-up-a-sentence-into-different-strings/139745>\
**Category:** Uncategorized\
**Created:** [March 5, 2005, 5:28am UTC](https://forum.kirupa.com/t/splitting-up-a-sentence-into-different-strings/139745 "2005-03-05T05:28:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Templarian](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/templarian/32/7152_2.png) [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Post date:** [March 5, 2005, 5:28am UTC](https://forum.kirupa.com/t/splitting-up-a-sentence-into-different-strings/139745/1 "2005-03-05T05:28:46Z")

</div>

Just like the title says i need to take a large string lets say like 200 characters long and split it into a bunch of strings that are 40 character in length.

Background: Think of a basic RPG game for gameboy and how when a is pressed a box pops up showing what they said. I have it all set up to show the message every time they hit a (space for me) all i need it to do is actually split the senctence into each part it shows.  
THX, to whoever answers it.
