阅读背景:

数组中字符串的不同数目。

来源:互联网 

UPDATED WITH FIX

更新修复

I want to return only the number of unique entries in my array. The array contains a string variable that represents IP address. If there are 10 of them, but of 3 different kinds I just want to return 3. I have been at this all day and can't seem to figure out a solution that works. My code:I want to return only




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: