Collections functions
Encryption functions
General functions
Theme permission 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 11th July 2020 21:35 Europe/London time based on the source file dated 9th July 2020 12:41 Europe/London time.