SimpleScript

Documentation - S.string_trim

Description

Allows you to trim a string to a max number of characters.

Parameters

string

String of content that will be trimed.

number

Max size in characters that the string can be.

Changelog

Examples

Normal

v.string=s.string_trim("Did you know that cats are awesome.",26)

Will return "Did you know that cats are".