개발도구/iOS - 아이폰 개발

[아이폰] replace 특수문자 대치, 문자열 합치기

Hay's App 2012. 3. 8. 17:36

특수문자 대치하기 replace
        
ch_title = [ch_title stringByReplacingOccurrencesOfString:@"&quot"

                                             withString:@"\""];

    

문자열 합치기
       ch_title = [NSString stringWithFormat:@"%@+%@",ch_title,ch];