@Keywords is different in R6

Given the following formula:

tst:= a : a : c : a : r;

@Elements(@Keywords(“a”; tst))

The R5 client returns 3 but the R6 client returns 1

@Keywords appears to return a single value rather than a list…why?

Subject: @Keywords is different in R6

@Keywords still returns a list – it’s just that the list in this case contains only one element. The values are apparently taken from the first argument rather than the second, so that you get each match only once. This has been discussed in this forum already and you can search for it.

Try this instead:

tst:= “a” : “a” : “c” : “a” : “r”;

@Elements(@Keywords(“a”; tst; “”))