If the given text is longer than the given length parameter, it is shortened and appended with an ellipsis character, so that the resultant text length is always less or equal than the given length parameter. Returns the truncated text.
TRUNCATE(text: String, maxlength: Number, ellipsis: String = …) => String
TRUNCATE("Wissenschaft is a science", 5)
TRUNCATE("This is a simple text", 4)
TRUNCATE("This is a simple text", 4, "...")
TRUNCATE("This is a simple text", 4, "")
Table of contents
By using this site, you consent to the use of only necessary cookies to enhance your site experience and improve our services.