I have long text i allias:
Pattern:
^/message (.*)$
Code:
matches[2] = MessageVariable
-------------------------------------------------------------
Input: - Long text without "enters" () copied from wiki to alias
--- Magic thing what code do:/message This article focuses on poetry written in English from the United Kingdom: England, Scotland, Wales, and Northern Ireland (and Ireland before 1922). However, though the whole of Ireland was politically part of the United Kingdom between January 1801 and December 1922, it is controversial to describe Irish literature as British.[citation needed] For some this includes works by authors from Northern Ireland. The article does not include poetry from other countries where the English language is spoken.
Output: - text cant go over 80 characters . So i must part text to fit in "|" the font is regular so i want to text look clean like lower.
My biggest problem is with "spaces" in parting. How code recognize when take full words of maximum lenght not passing 74 characters (i must live room for " | " and " |")