從字串的開頭一直擷取到指定的位置,但不包括該位置的字元NSString *string1 = [string0 substringToIndex:3]; NSLog(@"string1:%@",string1); ...
確定! 回上一頁