Files
noodl-docs/nodes/string-manipulation/substring.md
Eric Tuvesson 53f0d6320e Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com>
Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com>
Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com>
Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
2023-09-05 12:08:55 +02:00

34 lines
1.1 KiB
Markdown

---
hide_title: true
hide_table_of_contents: true
title: Substring
---
<##head##>
# Substring
This node lets you extract a part of a <span className="ndl-data">string</span> given a start and end character position.
<div className="ndl-image-with-background l">
![](/nodes/string-manipulation/substring/substring_node.png)
</div>
<##head##>
## Inputs
| Data | Description |
| ---------------------------------------- | --------------------------------------------------------------- |
| <span className="ndl-data">String</span> | The source string where the substring should be extracted from. |
| <span className="ndl-data">Start</span> | The character index of the start of the substring. |
| <span className="ndl-data">End</span> | The character index of the end of the substring. |
## Outputs
| Data | Description |
| ---------------------------------------- | ------------------------ |
| <span className="ndl-data">Result</span> | The extracted substring. |