Forum Discussion
- tonydugayContributor
Trimming sounds like a good idea - I'm not sure about VB but if you are scripting in JScript you can call like this:
aqString.Trim(InputString, Space)
Also trimming both values will ensure you are comparing Strings and no different types.
- BernardFanthomContributor
Thanks for feedback. At present I am trying to see if there is any way I can view the values on screen in a message box to find out what the hell they contain.
I believe there is such a method in the builtin dll called showmessage?
Is there any way to check if I have this other than the Programs install/uninstall route?
Anyone have similar VB code to hand that I could slap into my functions library script.
- BernardFanthomContributor
I am now exploring doing a property checkpoint. For object X Property wText Equals <Value>.
However I would like to use a variable for <Value>. Can I do this?
- NisHeraValued Contributor
Easiest way is put a log and see the deference ...then you can deside which way to handle that
Log.Message(Variable1+' '+ Variable 2 ) in jscript
or Log.Message(Variable1 &' '& Variable 2) in vbscript
- BernardFanthomContributor
Thanks for the feedback Nishera. I have tried using the log command and it does not work. Is there anything I should check to see if logging is switched off?
- BernardFanthomContributor
Apologies all. I can see the logging again.
Many thanks Marsha! - Big help!