Staffan_Iversta
16 years agoNew Contributor
Conditional goto using "contains"
Hi,
I try to use conditional goto and the function contains. I try to validate a phone number but it does not work. It also seems as the function transfers 0 (zero) to O. Anyone got an idea how to do it - I'd rather not get into groovy script.
Example:
this is the line of code that does not work:
contains (//s:Body/ns1:GetUserDataMsg/Response/Telekom/phone, 222333444)
When I validate a word (like hello) it works, but when I try to do it with a number it does not work (no condition true..)
Cheers
Staffan
I try to use conditional goto and the function contains. I try to validate a phone number but it does not work. It also seems as the function transfers 0 (zero) to O. Anyone got an idea how to do it - I'd rather not get into groovy script.
Example:
this is the line of code that does not work:
contains (//s:Body/ns1:GetUserDataMsg/Response/Telekom/phone, 222333444)
When I validate a word (like hello) it works, but when I try to do it with a number it does not work (no condition true..)
Cheers
Staffan