RulePoint
- RulePoint 6.1.2
- All Products
compareto(string1, string2)
Argument
| Required
Optional
| Description
|
---|---|---|
string1
| Required
| The first string that you want to compare.
|
string2
| Required
| The second string that you want to compare.
|
when 1 compare c with compareto(c.string1, c.string2) as result<0 then response with body=”${result}”
Usage
| Description
| Result
|
---|---|---|
s.string1=hello
s.string2=welcome
| Since hello comes before welcome
| greater than zero
|