Skip to contents

Truncate a string to a max length

Usage

.trunc_str(s, max_length = 35)

Arguments

s

String to truncate

max_length

Length to truncate s to (35)