Placeholder in C/AL

Hi, I am trying to find a placeholder like "" in C/AL. The code is something like: IF Field <> '0010’ THEN … But “*” does not work. Are there placeholder in C/AL? If not, how do you typically solve these kind of problems. Thxs for a quick response

In this case, i think IF COPYSTR(Field,1,4) <> ‘0010’ THEN … This will compare the first 4 characters to your string.

You could also filter the table first, so the records you are working with already match the conditions! TheFiter := ‘0010*’; SETFILTER(Field,’<>%1’,TheFilter); IF FIND(’-’) THEN REPEAT do_your_things_here(); UNTIL 0 = NEXT; -john