Actions

%strlen: Difference between revisions

From Zenitel Wiki

(New page: Event_Handler macro - length of a string Format: '''%strlen(string)''' *Return length of ''string'' *Useful in IF macros on text elements Example: Check if EDI text has the string ...)
 
No edit summary
Line 4: Line 4:


*Return length of ''string''
*Return length of ''string''
*Useful in IF macros on text elements
*Useful in [[IF/ENDIF]] on text elements


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

Revision as of 14:42, 5 May 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.