[cisco-voip] DB Get Step UCCX 7.0
Voice Noob
voicenoob at gmail.com
Fri Aug 14 15:14:43 EDT 2009
So on the Variable.trim function do you tell it to trim the empty space or
tell it a set number to trim?
From: Fuermann, Jason [mailto:JBF005 at shsu.edu]
Sent: Friday, August 14, 2009 2:08 PM
To: 'Voice Noob'; 'cisco-voip voyp list'
Subject: RE: [cisco-voip] DB Get Step UCCX 7.0
Use the set step with the trim function. Variable=Variable.trim()
From: cisco-voip-bounces at puck.nether.net
[mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Voice Noob
Sent: Friday, August 14, 2009 1:57 PM
To: ask-icd-ivr-support at external.cisco.com; 'cisco-voip voyp list'
Subject: [cisco-voip] DB Get Step UCCX 7.0
I am using a DB Get step. The field I am using is 20 characters long and the
results are varying length. UCCX is returning the entire 20 characters
padding the end with blank spaces. How can I modify the script to check the
length of the string and remove the blank spaces at the end.
This may also help with another problem I have which is where the caller
enters their number as 7 digits but I need them to enter 10 digits. I need
to check the total number of characters and if it's less than 10 characters
I will play a prompt and loop them back to the get digit step.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090814/2ffe8cc9/attachment.html>
More information about the cisco-voip
mailing list