« Back to CVP - All Versions

Get string length - custom element

Combination View Flat View Tree View
Threads [ Previous | Next ]
Get string length - custom element
custom element call studio call studio cvp custom java
Answer
6/10/12 4:39 PM
I needed to get the length of a string of caller entered digits in Call Studio, so I created a custom element to do it and figured I'd share it with the community here.
 
Feedback is welcomed!
Attachments:

I looked back at my old files and found that I created one of those in 2005! I did it slightly differently, in that I passed in a variable through Settings to hold the length, rather that setting the element value.

Thanks for posting.

Regards,
Geoff

Why would you need a custom element for such a simple thing ?
Hemal
________________________________
From: Cisco Developer Community Forums [cdicuser@developer.cisco.com]
Sent: Sunday, June 10, 2012 10:39 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP - All Versions: Get string length - custom element

Asher Schweigart has created a new message in the forum "CVP - All Versions":

--------------------------------------------------------------
I needed to get the length of a string of caller entered digits in Call Studio, so I created a custom element to do it and figured I'd share it with the community here.

Feedback is welcomed!
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5843684>

or simply reply to this email.

It's not built into Call Studio, and I needed to get it for use in a decision element. It seemed the best way to do it.
As far as I know it can't be done without custom java, so it made sense to turn it into an element I though.
No reason to keep it as a plain java action element I figured.