Truncate$

Takes two parameters, Source, MinLength

Description:

This command can be used to truncate a text/string value. If the number of characters in the Source parameter is equal to, or exceeds the MinLength parameter, then the original Source will be returned, else, "..." is returned.

Example:

[New] source = "abcdef"

[New] results = Truncate$ source, 4
Html ("results: " & results) 'results is equal to "..."