Brekeke SIP Server Wiki

$str.reverse

Get the reversed string.

 

Syntax:
$str.reverse( string )
Returns:

the reversed string.

 

Version Since:

1.0

 

Where the function can be used:
  • Preliminary rules
  • Regular rules

 

Example:
$str.reverse( “12345” )= (.+)

Get the reversed string. It will be “54321”

$str.reverse($getSIPuser(To))= (.+)

Reverse the To URI’s SIP username.

Yes No
Suggest Edit