Files
noodl-docs/nodes/string-manipulation/substring/README.md
2023-09-22 13:37:52 +02:00

34 lines
1.1 KiB
Markdown

---
hide_title: true
hide_table_of_contents: true
title: Substring node
---
<##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. |