Skip to contents

Shorten long strings in a data frame for neater printing.

Usage

truncate_string(str, max_length = 20)