[Gambas-user] Text-Wrapping

Gianluigi bagonergi at gmail.com
Wed Nov 11 15:19:43 CET 2020

Il giorno mer 11 nov 2020 alle ore 13:31 Hans Lehmann <hans at gambas-buch.de>
ha scritto:

> Hello,
> since there are true string artists among the readers, I just ask: I'm
> looking for a function like LikeWrap(arg1Text, arg2Length) with which you
> can wrap a text. At most arg2Length characters should be in one line.
> Line breaks in the original text should be preserved. A hyphenation is not
> used. The text must be separated by a hyphen in the last word. The length
> rule also applies in this case.
> Does anybody have a finished function in his source code box?
> Result with maxLength = 63:

Hi Hans,

I hope that Benoit does not notice that I reply to you before he does, but
I had some problems and as soon as I sent this email I reply to him and I
will apologize.

I am attaching a zip file to avoid problems with g-mail.

Have a good day
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201111/e0881c6c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WrapText-2.zip
Type: application/zip
Size: 17136 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201111/e0881c6c/attachment-0001.zip>

More information about the User mailing list