String Manipulation Function in Trino/PrestoSQL: Reference and Examples

String Manipulation Function in Trino/PrestoSQL: Reference and Examples

Last updated:
Table of Contents

Truncate string column

Need to use substring together with rpad, otherwise it doesn't work IME

substring(rpad(MY_COLUMN,56,' '),1,55)

Dialogue & Discussion