Actions

%strlen: Difference between revisions

From Zenitel Wiki

No edit summary
No edit summary
Line 15: Line 15:


[[Category:Event Handler]]
[[Category:Event Handler]]
[[Category:Event Handler macros]]

Revision as of 09:03, 10 August 2010

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.

MediaWiki spam blocked by CleanTalk.