Cut string
The Cut string robot for Bitrix24 (Alaio) business processes takes a source string and a substring, then removes every occurrence of that substring from the text. It returns the cleaned-up Result field, which you can reuse in any later robot or process step.
Cut string is a text robot for Bitrix24 (Alaio) business processes and robots. It scans the source string and deletes all occurrences of the substring you specify, returning the trimmed text in the Result field. Because the replacement is empty, the substring is simply removed wherever it appears — once, twice, or dozens of times. Use it to strip prefixes, service tags, currency symbols, extra labels, or boilerplate from CRM fields before saving them, sending a message, or passing the value to the next robot. Drop it into the workflow designer next to the built-in activities, point it at any string field, and chain the Result into following steps. No code, no developer, no external service required.
What input parameters does the robot accept?
| Parameter | Type | Required? | Default |
|---|---|---|---|
| Source string | string | yes | |
| Substring to remove | string | yes |
What does the robot return?
| Parameter | Type |
|---|---|
| Result | string |
Scenario: clean a phone number stored with a country prefix label.
- Step 1. Add the Cut string robot to your business process.
- Step 2. Set Source string to the field holding the value, e.g. {=Document:PHONE}.
- Step 3. Set Substring to remove to the unwanted text, e.g. "tel:".
- Step 4. Use the Result field in the next step to save or send the cleaned value.