复制
收藏
提问
全网
for (int i = 0; i < stringLength; i++) { unichar c = [string characterAtIndex:i]; if (c >= '0' && c <= '9') replacementCharacters[filteredLength++] = c; }
4个月前
理解问题for (int i = 0; i < stringLength; i++) { unichar c = [string characterAtIndex:i]; if (c >= '0' && c <= '9') replacementCharacters[filteredLength++] = c; }
已完成理解「for (int i = 0; i < stringLength; i++) { unichar c = [string characterAtIndex:i]; if (c >= '0' && c <= '9') replacementCharacters[filteredLength++] = c; }」
展开阅读网页
更专业一些
转笔记
专业
for (int i = 0; i < stringLength; i++)
{
unichar c = [string characterAtIndex:i];
if (c >= '0' && c <= '9')
replacementCharacters[filteredLength++] = c;
}不在提醒