Actions

Difference between revisions of "%strlen"

From Zenitel Wiki

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

Revision as of 09:56, 11 January 2017

AlphaCom icon 300px.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.