utils/truncate_content library

Truncate a string to a max length.

Copyright (C) 2025, Togaware Pty Ltd

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://opensource.org/license/gpl-3-0

Authors: Zheyuan

Functions

truncateContent(String content) String
Truncate content to fixed width.