# String Split ?

This wildcard is replaced with a part or section of a string, with its delimiter being a whgite space ( ). The input string is cut based on the split parameter, which can be a single value or a range. The split parameter can be positive or negative; a positive value cuts the string from the beginning, while a negative value cuts it from the end.

The wildcard is used in the following ways.

* {string.split.?}
* For the following input (?) --> {string.split.0:2.I Want to Split this string}
* The output is going to be --> I Want to

{% hint style="info" %}
The split character is the blank space.

Individual strings can be chosen either from left to right (using positive numbers, e.g., 0, 1, 2, 3, 4) or from right to left (using negative numbers, e.g., -1, -2, -3, -4).

For instance, -1 and -2 can be used to select strings from the right.

When the ":" sign is utilized, it becomes possible to specify a custom string range for both the left and right sides (as in the example 1:-1).

If a selection range is employed with ":" alone, the number 0 can be used to set the left range to the first string (e.g., 0), and -1 sets the right-side selection to the end of the string (e.g., 3).
{% endhint %}

#### Further examples:

* Example 1:\
  • Input --> {string.split.2.I Want to Split this string}\
  • Output --> to
* Example 2:\
  • Input --> {string.split.-3.I Want to Split this string}\
  • Output --> Split
* Example 3:\
  • Input --> {string.split2:-1.I Want to Split this string}\
  • Output --> to Split this string
* Example 4:\
  • Input --> {string.split.2:-2.I Want to Split this string}\
  • Output --> To Split this •&#x20;
* Example 5:\
  • Input --> {string.split.0:-2.I Want to Split this string}\
  • Output --> I Want to Split this


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/v4.10.1/helmut4-components/streamdesigner/wildcards/string-related-wildcards-9/string-split.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
