开发者

Flex set-difference

开发者 https://www.devze.com 2023-02-20 11:17 出处:网络
I would like to know how do I define a 开发者_Go百科set difference (A/B) in flex , thank youIf you mean the difference of two character classes, flex provides

I would like to know how do I define a 开发者_Go百科set difference (A/B) in flex , thank you


If you mean the difference of two character classes, flex provides the {-} operator.

This operator's explanation will be found in the Flex manual chapter on Patterns.

Hope this helps


You can do this type of thing quite easily with ActionLinq (ActionLinq.org)

var A:IEnumerable = Enumerable.from([1,2,3,4]);
var B:IEnumerable = Enumerable.from([2,3,4,5]);

var diff:Array = A.except(B).toArray();
0

精彩评论

暂无评论...
验证码 换一张
取 消