clipString {BBmisc} | R Documentation |
Shortens strings to a given length.
Description
Shortens strings to a given length.
Usage
clipString(x, len, tail = "...")
Arguments
x |
[ |
len |
[ |
tail |
[ |
Value
[character(1)
].
Examples
print(clipString("abcdef", 10))
print(clipString("abcdef", 5))
[Package BBmisc version 1.13 Index]