Article Details
Id:20620
Product:finPOWER Connect
Type:NEW
Version:4.00.03
Opened:23/08/2023
Closed:07/09/2023
Released:27/09/2023
Job: J031862

Scripting; added new WordWrapText function

A new WordWrapText function has been added to Text Utilities.

This splits the text value into multiple lines breaking at whole words (if possible) no longer than the maximum line length specified.

NOTE: Compare to the existing WrapText function which does not break at whole words.

Example code:

NewValue = finBL.Runtime.TextUtilities.WordWrapText(Value, 50)