shortenString: Shorten a string if it is longer than a limit

Description Usage Arguments Value

Description

Shorten a string if it is longer than a limit

Usage

1
  shortenString(text, limit, cutIndication = "...")

Arguments

text

The string to shorten.

limit

The length limit.

cutIndication

A string to append to the string if shortened.

Value

The shortened string.



Search within the twiddler package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.