Avaya Customer Interaction Express 1.0 IVR-Editor User Manual page 29

Table of Contents

Advertisement

User Manual CIE 1.0 IVR-Editor
Operator
Explanation
? right ?
Returns the right n characters of Operand1, e.g., "CallCenter" right 6
returns "Center"
Returns the right part of Operand1 beginning with the first
? rightfirst ?
appearance of Operand2, e.g., "CallCenter" rightfirst "e" returns
"enter", "CallCenter" rightfirst "z" returns ""
? rightfirstex ?
Returns the right part of Operand1 starting after the first appearance
of Operand2, e.g. "CallCenter" rightfirstex "e" returns "nter",
"CallCenter" rightfirstex "z" returns ""
? rightlast ?
Returns the right part of Operand1 starting with the last appearance
of Operand2, e.g. "CallCenter" rightlast "C" returns "Center";
"CallCenter" rightlast "z" returns ""
? rightlastex ?
Returns the right part of Operand1 starting after the last appearance
of Operand2, e.g. "CallCenter" rightlastex "C" returns "enter";
"CallCenter" rightlastex "z" returns ""
len ?
Returns the length of a string, e.g., len 'abc' returns 3\n.
Date/ time functions
_now
Renders the current date and the current time in the format
DD.MM.YYYY HH:MM:SS e.g. 17.11.2004 11:09:07 (this
function is only called once per condition, even if the term contains
_now more than once).
Hour (0 to 23) of a time stamp: _hour(23:15:30) renders 23. (You
_hour(?)
get the current hour with: _hour(_timeOfDay(_now)
_minute(?)
Minute (0 to 59) of a time stamp: _minute(23:15:30) renders 15.
(You get the current minute with: _minute(_timeOfDay(_now)
_second(?)
Second (0 to 59) of a time stamp: _second(23:15:30) renders 30.
You get the current second with: _second(_timeOfDay(_now)
_year(?)
Year of a time stamp: _year(25.04.2004) renders 2004 (You get the
current year with: _year(_date(_now)
_month(?)
Month (1 to 12) of a time stamp: _month(25.04.2004) renders 4.
_month(_date(_now)
_dayOfMonth(?) Day of the month (1 to 31) of a time stamp:
_dayOfMonth(25.04.2004) renders 25. : _dayOfMonth(_date(_now)
_dayOfWeek
Weekday (0=Sunday, 1=Monday, etc,, 6=Saturday) of a time stamp:
(?)
_dayOfWeek(25.04.2004) renders 0.: _dayOfWeek(_date(_now)
_date(?)
Renders the date of a date-time stamp
(e.g. _date(25.04.2004 23:00:00) => 25.04.2004)
_timeOfDay
Renders the time of a date-time stamp
(?)
(e.g. _timeOfDay(25.04.2004 23:00:00) => 23:00:00)
+
Adds the number of days specified with Operand2 to the date of
Operand1, e.g. 31.01.2004 + 4 => 04.02.2004.
Adds two times modulo 24 hours e.g. 12:00:00 + 13:00:00 =>
+
01:00:00.
-
Subtracts the number of days specified with Operand2 from the date
of Operand1, e.g. 31.01.2004 - 32 => 30.12.2003.
-
Determines the number of days between two date settings, e.g.
04.02.2004 - 31.01.2004 => 4; 31.01.2004 - 04.02.2004 => -4.
-
Subtracts two times modulo 24 hours e.g. 01:00:00 - 12:00:00 =>
13:00:00
<
Date/ time comparison on less than, e.g. 25.04.2004 < 01.05.2004
renders 1, 23:00:00 < 19:00:00 renders 0
Date/ time comparison on less than or equal to, e.g. 25.04.2004 <=
<=
01.05.2004 renders 1; 23:00:00 <= 19:00:00 renders 0
>
Date/ time comparison on greater than, e.g. 25.04.2004 >
01.05.2004 renders 0, 23:00:00 > 19:00:00 renders 1
Terms and elements of the IVR Editor • 23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Customer interaction express 1.0Ivr-editor

Table of Contents