Actions

%strlen: Difference between revisions

From Zenitel Wiki

No edit summary
 
No edit summary
 
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 14: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.

MediaWiki spam blocked by CleanTalk.