开发者

Replacement for CharInSet function in Delphi Prism

开发者 https://www.devze.com 2023-04-03 09:51 出处:网络
Is there a similar function as CharInSet in Delphi Prism? If not, how would you do it? I looked online and on StackOverflow, but they speak in t开发者_StackOverflow社区erms of Delphi not Delphi Prism

Is there a similar function as CharInSet in Delphi Prism? If not, how would you do it?

I looked online and on StackOverflow, but they speak in t开发者_StackOverflow社区erms of Delphi not Delphi Prism for .NET.

I also found out that the include method for setting an element to a set is not available either.

what are the replacements, if any, for these method?


Use the in operator to test membership. Use the + operator in place of Include. A method like Include could not exist in Prism since sets are immutable in Prism.

See here for full details.

0

精彩评论

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