The Part Of Text block is used to get a part of a text.
The input Start sets the index of the first character to include in the returned subtext. It counts from zero. The input Length sets the length of the subtext from Start. The subtext from index Start with the specified length is return.
Example A:
![library-text-functions-substring-example-1-1](https://www.centrldesk.com/hs-fs/hubfs/library-text-functions-substring-example-1-1.png?width=641&name=library-text-functions-substring-example-1-1.png)
The result of the input text 'Hello Centrldesk', the Start input '0' and the Length input '5' is 'Hello'.
Example B:
![library-text-functions-substring-example-2-1](https://www.centrldesk.com/hs-fs/hubfs/library-text-functions-substring-example-2-1.png?width=641&name=library-text-functions-substring-example-2-1.png)
The result of the input text 'Hello Centrldesk', the Start input '6' and the Length input '10' is 'Centrldesk'.
Result:
Text containing the specified part.
Tips and best practices:
-
Library:
Text