Text

Get a part of a text using Part Of Text block

Get a part of a text in Centrldesk

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

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

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

Similar posts

Subscribe to our newsletter

Stay up to date on upcoming news and topics of creating web apps without code.