Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

tidy_trim()

Description

Trims $text to $length if necessary. Tries to trim at a space if possible. Adds three full stops if trimmed...

Parameters

ColumnTypeDefaultDescription
$text string
$length integer

Return

string

This article was last updated 3rd December 2020 13:05 Europe/London time based on the source file dated 30th November 2020 09:45 Europe/London time.