Actions

Difference between revisions of "%strlen"

From Zenitel Wiki

 
Line 5: Line 5:
  
 
*Return length of ''string''
 
*Return length of ''string''
*Useful in [[IF/ENDIF]] on text elements
 
  
Example: Check if EDI text has the string “connect”
+
%strlen(abcdef) will return the value 6.
If %strlen(%sscan(%edi,connect))
 
  ...
 
Endif
 
  
  

Latest revision as of 15:25, 20 September 2023

AI.png

Event_Handler macro - length of a string

Format: %strlen(string)

  • Return length of string

%strlen(abcdef) will return the value 6.


Back to Event_Handler#List_of_macros.