Type: lib.textwrap.Shorten
Namespace: lib.textwrap
Description
Shortens text to fit within a width, using a placeholder if truncated. textwrap, shorten, truncate
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| text | str |
`` | |
| width | int |
70 |
|
| placeholder | str |
... |
Outputs
| Output | Type | Description |
|---|---|---|
| output | str |
Metadata
Related Nodes
Browse other nodes in the lib.textwrap namespace.