Page 1 of 1

LoadCase

Posted: April 22nd, 2024, 11:32 am
by chandi
HI,
I have external dic with 5 id's,I need to search existence of case for some validation for that I have 2 values of Id's out of 5.How can I check this partial key in cspro using command like loadcase or find.

Re: LoadCase

Posted: April 22nd, 2024, 1:47 pm
by etuser
Try ForCase command

,

Re: LoadCase

Posted: April 23rd, 2024, 3:07 pm
by Gregory Martin
If the two IDs you have are the first two IDs, you could use use find with startswith. For example, this would tell you if there is an ID that starts with "AB":
if find(MY_DICT, startswith, "AB") then