Users Pricing

forum

Home Forums Concatenate 2 or more NSString into 1 NSString in Objective-C – MindStick

Concatenate 2 or more NSString into 1 NSString in Objective-C

Anonymous User 2209 07 Nov 2015
I am new in Objective-C programming, can any one tell me how to Concatenate 2 or more NSString into 1 NSString with comma(,) sign.
For example I have 3 strings like this:
NSString *country1 = @"India";
NSString *country2 = @"China";
NSString *country3 = @"Japan";
I want to make a single string to store and in future I want to separate all these values by given sign.

1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md