Skip to main content

Sub-String Manipulator

Intro

The Sub-String Manipulator can be used to output a specified range of characters. The range is set in the same way all arrays work in Cavalry. For example, the text string Cavalry has 7 letters and so would be represented by a range between 0 and 6.

0123456
Cavalry

UI

Start Position - Set the index of the first character.

End Position - Set the index of the last character.

Exclude End - When checked, the index of the End Position will be removed from the range. For example, a Start Position and End Position of 0 will leave 1 character visible (Id0 is in the range 0,0). Checking Exclude End will remove it.

tip

To output ava from the string Cavalry use a Start Position of 1 and an End Position of 3.