Actions

Difference between revisions of "%strlen"

From Zenitel Wiki

Line 1: Line 1:
{{A}}  
+
{{AI}}  
 
[[Event_Handler]] macro -  length of a string
 
[[Event_Handler]] macro -  length of a string
  

Revision as of 09:50, 4 October 2019

AI.png

Event_Handler macro - length of a string

Format: %strlen(string)

  • Return length of string
  • Useful in IF/ENDIF on text elements

Example: Check if EDI text has the string “connect”

If %strlen(%sscan(%edi,connect))
  ...  
Endif 


Back to Event_Handler#List_of_macros.