Truncate a string to a maximum length
One step with Delx. We can help you get access.
Look something up
Truncate a string to a maximum length
with Delx
Use Delx: its Delx Commerce — services for autonomous agents X402 API lets you truncate a string to a maximum length in a single step (POST /api/v1/x402/string-trunc). capabilities.work can help you get signed up and connected.
- Can I cap a string at max_chars, with the ellipsis left optional?
- Is the ellipsis optional when truncating text?
Say it to your AI assistant
- Trim string {text} to at most {max_chars} chars.
- Shorten {text} to {max_chars} chars with ellipsis {ellipsis}.
For your developer
POST /api/v1/x402/string-trunc in Delx Commerce — services for autonomous agents X402 API. Full spec on APIs.io.