LoadCase

Discussions about CSEntry
Post Reply
chandi
Posts: 9
Joined: August 12th, 2023, 3:31 am

LoadCase

Post 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.
etuser
Posts: 87
Joined: September 3rd, 2019, 5:57 am

Re: LoadCase

Post by etuser »

Try ForCase command

,
Gregory Martin
Posts: 1801
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: LoadCase

Post 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
Post Reply