Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.88 KB

File metadata and controls

37 lines (32 loc) · 1.88 KB
uid items
cao-LEN
Operators

LEN

Specification Value
Description Returns the length of a string.
Parameter 1 Name String
Parameter 1 Type string
Description Returns the length of a string.
Parameter 1 Name String
Parameter 1 Type string
Parameter 2 Name -
Parameter 2 Type -
Parameter 3 Name -
Parameter 3 Type -
Return value The string's length.
Return value The string's length.

[!NOTE]

@@ -34,3 +34,12 @@ OUTPUT:

Note

The repository of the attribute is Crm.Sales.SalesOrders.

[!NOTE]

It is important to note that if the string being passed to the LEN function is null, it will return an error. Therefore, it is recommended to add an IF > > > operator to check whether the string is null before passing it to the LEN function. This will prevent any errors from occurring and ensure that the function > > works as intended.

Example: | 10 | IIF EXP 7 CONST 0 EXP 10 | | 20 | EQUAL ATTRIB DocumentNotes CONST Null | | 30 | LEN ATTRIB DocumentNotes |