Why do we need strings and can we also use the character type? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do we need strings and can we also use the character type?

25th Aug 2016, 6:32 AM
Rebin Khailany
Rebin Khailany - avatar
2 Answers
0
why do we need integer ? same reason for string.
29th Aug 2016, 6:40 AM
RaDin
RaDin - avatar
0
Strings are a chain of characters. Strings allor us to deal with whole text leteral instrad of character by character. Don't reinvent the wheel. Yet better, Steve Job came with NSString that have more functionalities like formatting .
7th Sep 2016, 6:21 PM
Abdelkader Ait Assou
Abdelkader Ait Assou - avatar