What is String? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is String?

8th Jul 2018, 4:03 AM
Vinayak Ojha
Vinayak Ojha - avatar
3 Answers
+ 9
a set of two or more characters knows as a string , single or double quote is used to make a string , A-Z, a-z, 0-9 & special characters such as @#$* etc. including in string. for eg "Abc@321" is a string
8th Jul 2018, 6:03 AM
Lakhvir Singh
Lakhvir Singh - avatar
+ 2
string is a word (a, b ,c...) and number (1, 2 ,3...) and symbols(#,@,$,%,&...) and emoji (😂, 😅, 😀...) that inside a quote( ' ) or a double quote ( " ) please read perfectly so no part is skipped
8th Jul 2018, 4:08 AM
Jingga Sona
Jingga Sona - avatar
0
String is just a data type like int and floats.in string we have word, character etc.Just remember which word or anything in under the " " is a string,although it is int or float e.g="2" is string because it is under the " ".
8th Jul 2018, 10:14 AM
Maninder $ingh
Maninder $ingh - avatar