Brekeke SIP Server Wiki

$str.remove

Remove the part from the string.

 

Syntax:
$str.remove( string, part )
Returns:

the modified string.

 

Version Since:

1.0

 

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

 

Example:
$str.remove("123-456-789","-")= (.+)

Remove  ‘-‘. The returned value will be 123456789

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

Remove  ‘-‘ from the dialed number.

Yes No
Suggest Edit