Guest Mark Bellavance Report post Posted 07/04/2004 10:28 PM 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
SupportTeam Report post Posted 07/05/2004 03:03 AM 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
Guest Mark Bellavance Report post Posted 07/05/2004 06:22 AM THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU, You guys are the best! Share this post Link to post