All templates
Template·Text & Data

Slice Text

Take a fixed range out of a string by index, with an optional step. The blunt way to truncate a caption to a length limit, or to sample every nth character.

Slice Text — example output from the NodeTool workflow

The workflow

Workflow Editor
String Input
0123456789abcdefghij
Slice
Text
Output

Nodes in this workflow

3 nodes · 3 types
  • Output
    nodetool.output.Output
  • Slice
    nodetool.text.Slice
  • String Input
    nodetool.input.StringInput

How to run it

  1. 01

    Download NodeTool Studio

    Install the free desktop app for macOS, Windows, or Linux. It runs on your own machine, no account required to start.

  2. 02

    Open the Slice Text template

    Browse the built-in template library inside Studio and open this workflow onto the canvas. Every node is already wired up.

  3. 03

    Add your keys

    Connect any model providers this workflow calls with your own API keys, or point it at local models.

  4. 04

    Run and remix

    Hit Run to execute the graph and watch results stream in. Swap models, edit prompts, or rewire nodes to make it yours.

Run Slice Text on your machine

Free, open source, and yours to run. Download Studio, open the template, and run it with your own keys.