VoiceGuide IVR Software Main Page
Jump to content

Evaluate Information From The Web

Recommended Posts

I am trying to varify information I retreive from the web is correct. If the information comes back to me correctly the strlen is about 10-20 charecters. If there are no results returned or an error, I get 0 or 500 charecters or more. what I am trying to do is evaluate the information like strlen($RV{whatever}) <=40 or Len($RV[sLNE]) <= 40 or maybe 0 = Len($RV[sLNE]) >= 40

Will something like these work with a string

 

Neither seem to do the trick, I am trying to evaluate the entire string charecters not a number. any tips or tricks?

Share this post


Link to post
If the information comes back to me correctly the strlen is about 10-20 charecters. If there are no results returned or an error, I get 0 or 500 charecters or more.

So if length is between 10 and 20 characters then we should take the Success path and take the Fail path otherwise. Use this expression in the Evaluate Expression module:

 

(len("$RV[xyz]") >= 10) and (len("$RV[xyz]") <= 20)

 

where $RV[xyz] shoudl be replaced by your result varaible.

Share this post


Link to post

THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, You guys are the best!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×