BaBernd
23rd April 2015, 10:58
Hello to All,
I've created an If-clause with a string comparison but it always Fails. Can you give me a hint.
----------------------------------------------
Branche.typ = trim$(tdsmi101.cfea)
if Branche.typ = "[Bb][Rr][Aa][Nn][Cc][Hh]*" then
get.code.data(Branche.bez)
else
message("IF Fails")
endif
----------------------------------------------
And I know that Branche.typ contains Minimum one value with "BRANCH1"
Why does the Wildcard "*" not work?
Best Regards
Bernd
I've created an If-clause with a string comparison but it always Fails. Can you give me a hint.
----------------------------------------------
Branche.typ = trim$(tdsmi101.cfea)
if Branche.typ = "[Bb][Rr][Aa][Nn][Cc][Hh]*" then
get.code.data(Branche.bez)
else
message("IF Fails")
endif
----------------------------------------------
And I know that Branche.typ contains Minimum one value with "BRANCH1"
Why does the Wildcard "*" not work?
Best Regards
Bernd