[cisco-voip] DB Get Step UCCX 7.0

Tanner Ezell tanner.ezell at gmail.com
Fri Aug 14 15:33:31 EDT 2009


shouldn't .len() be a function as well?

On Fri, Aug 14, 2009 at 12:26 PM, Voice Noob <voicenoob at gmail.com> wrote:

>  Yes thank you for the help.
>
>
>
> *From:* Fuermann, Jason [mailto:JBF005 at shsu.edu]
> *Sent:* Friday, August 14, 2009 2:24 PM
>
> *To:* 'Voice Noob'; 'cisco-voip voyp list'
> *Subject:* RE: [cisco-voip] DB Get Step UCCX 7.0
>
>
>
> It trims all the leading and trailing white space. It’s a string function
> of Java
>
>
>
> *From:* Voice Noob [mailto:voicenoob at gmail.com]
> *Sent:* Friday, August 14, 2009 2:15 PM
> *To:* Fuermann, Jason; 'cisco-voip voyp list'
> *Subject:* RE: [cisco-voip] DB Get Step UCCX 7.0
>
>
>
> 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.
>
>
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090814/cea6e106/attachment.html>


More information about the cisco-voip mailing list