php wordwrap help

Hi! I currently have some text that I want to add a line break to every 100 characters.
The problem I have is that the text is inside of a shortcode and I am not sure how to wordwrap it from inside that shortcode.

Here’s the code:

<?php echo do_shortcode('[myshortycode]This is the text I want to add line breaks to[/myshortycode]') ?>

For the sake of the most effective way to handle this, where is the text coming from?

Sponsor our Newsletter | Privacy Policy | Terms of Service