How can I force them to be tested for TXT equivalence?

Do I have to say:

IF X = Y AND LEN(X) = LEN(Y) THEN true

Except if X = ' 1' and Y = '1 ' then LEN(X) = LEN(Y) ...

It seems that leading or trailing spaces are ignored (but not embedded
spaces) so I have to say

IF LEN(X) = LEN(TRIM(X)) AND LEN(Y) = LEN(TRIM(Y)) AND X = Y THEN true



if 'X':X = 'X':Y then...

Crude, but works everywhere if you want X and Y to always be treated as strings.

Stewart
--
Stewart Leicester                | http://www.ThreatFocus.com
V.P. Engineering                 | mailto:[EMAIL PROTECTED]
Threat Focus, Inc.               | 925-551-0130 Voice
"Knowledge is your best defense" | 509-695-1373 Fax
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to