Collections functions
General functions
Render functions
Theme permission functions
User 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 2nd December 2023 08:35 Europe/London time based on the source file dated 29th November 2023 10:35 Europe/London time.