[英]how to compare 2 strings
我有两个字符串初始化使用nsstring * name1,* name2 ...如何比较这些
if([name1 isEqualToString:name2]){
NSLog("These are the same name");
}
The best place for API features like this is the Apple documentation 像这样的API功能的最佳位置是Apple文档
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.