System Actions
/
String Operations action

Substring

Substring

The Substring action is used to select or manipulate a specific substring in a text (string). It can be thought of as an operation to get a specific range or sequence of characters in a text.

It is the process of selecting a specific range or characters of a text. For example, if we want to get the word ‘Hello’ as a substring in the expression ‘Hello World’, substring (‘Hello World’, 0, 5) must be entered.

The substring action is a specialised version of the subarray action, that is, it takes only string values.

Select the element to add action. Click +Add Action under Properties panel.(A)

Click OnClick-->String Operations--> Substring and add the Substring action.(A)

The added Substring action comes with Value, Starting Index and Count parameters.

  • Value:

The Value parameter represents the content of the substring.

This value contains a specific number of characters in the original text, starting from a specific starting index.

  • Starting Index:

The Starting Index parameter specifies the starting index of the substring.

The substring is selected from this starting index 0.

  • Count:

The Count parameter specifies the number of characters in the selected substring.

The substring contains the specified number of characters from the start index.

These parameters, value, start index and count, determine how the substring is selected and which characters it contains.

Click Symbol Picker (B) to fill in the parameters in the added action.

You can perform various operations for the added actions via Context Menu (C).

You can easily copy the action with the Copy option. Thus, you gain speed where action repetition is required.

With the Add Confirmation option, you can add a confirmation message for the action to work,

With Add Condition, you can determine that the action you add works in accordance with a certain condition,

You can easily delete the action added with the Remove option.

No items found.

İlişkili diğer içerikler

No items found.

Sözlük

No items found.

Alt Başlıklar