Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ16198
Printer Friendly
Email Article Link
iTest: How to avoid the error "Syntax error in expression "string compare -nocase $a $b": character not legal in expressions".
Environment/Versions
Spirent iTest.
Answer
We will get this error if the syntax for the command
string compare -nocase $a $b
is wrong in the analysis rule assert step.
We can over come this issue by giving the correct syntax i.e
[string compare -nocase $a $b]
in the analysi rule assert step.
Version
2.0
Publish Date
2023-11-16
Categories
Product : Velocity Portfolio,Velocity iTest
Related Articles