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.
精彩评论