Get Text Length
Description
The Get Text Length part allows you to retrieve the number of characters for a given text string.
Node Type: This part is located in process nodes under the Text manipulation dropdown menu. Note that that in LogicNets versions before 7.3, the part label is stringfind.
Used With: This part can be used with all frameworks and non-framework-based applications.
Use
This part is useful in applications that need to work with text strings. For instance, using get text length for code ABC123-X can be the input to the split text part to retrieve the last character of the string, letter X.
It can also be used to identify within the logicnet whether a field will overrun the space provided, such that the Designer User can model a different presentation of the string (useful in cases where CSS declarations for text spacing, breaking and overflow are not sufficient).
Editor Fields
Field Name | Description/Use | Type/Options | Optional/Mandatory |
Input value | This is the name of the data object containing the source string. Use $() around the data object name. | Data Object | Mandatory |
Output path | This is where you specify the variable to hold the length of the input string. | Text | Data Object | Mandatory |