
Voicemail Pro Installation and Maintenance Page 196
15-601063 Issue 22e (16 May 2010)IP Office Release 6
4.4.1.10 String Manipulation
This Generic action option allows a call variable to be edited in various ways. For example take the full CLI of a call (for
example 01555364200) and save just the area code part (in the example 555) as a new value. The action treats variable
values as text strings, it does not differ whether the value is numeric or alphabetic. For numeric variables value, the value
can also be manipulated using the Arithmetic Evaluation option.
· Select Generic command: String Manipulation
· Select Variable
Enter the call variable on which the action should perform an operation.
· Select Variable For Result
Enter the call variable which should be used to store the result of the operation.
· Select Operation
Select the operation to be performed on the selected input. Depending on the selected operation the additional
fields Number of Characters and From Position Index may be displayed.
Return the selected number of characters
starting from the position index and going right.
STRING:$CP1=mid
($CP0,3,3)
Return the selected number of characters
starting from the left end.
Return the selected number of characters
starting from the right end.
STRING:$CP1=right
($CP0,5)
Change any uppercase characters in the input
into lowercase.
Reverse the order of characters in the input.
STRING:$CP1=reverse
($CP0)
Change any lowercase characters in the input
into uppercase.
· Number of Characters
This option is displayed for the operation From Position, From the Left and From the Right. It sets the number
of characters to be returned.
· From Position Index
This option is displayed for the operation From Position. It sets the start character for set of characters to be
returned.
185