llms_trim_string( string $string, int $chars = 200, string $suffix = '...' )

Trim a string and append a suffix


Description Description


Parameters Parameters

$string

(Required) Input string.

$chars

(Optional) Max number of characters. Default is 200.

Default value: 200

$suffix

(Optional) A suffix to append. Default is '...'.

Default value: '...'


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/llms.functions.core.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.