Word wrap: Difference between revisions

Content added Content deleted
Line 3,619: Line 3,619:
=={{header|R}}==
=={{header|R}}==


=== Using the base libraries ===
=== Using the base library ===


Use <code>strwrap()</code>:
Use <code>strwrap()</code>:
Line 3,636: Line 3,636:
libero egestas mattis sit amet vitae augue. Nam tincidunt
libero egestas mattis sit amet vitae augue. Nam tincidunt
congue enim, ut porta lorem lacinia consectetur.</lang>
congue enim, ut porta lorem lacinia consectetur.</lang>



=== Using the stringr tidyverse library ===
=== Using the stringr tidyverse library ===