0

I cant understand the string clearly!!.plz help

can any one help me

8th Sep 2017, 6:43 PM
Ali Abbas
Ali Abbas - avatar
3 Réponses
8th Sep 2017, 7:28 PM
Tashi N
Tashi N - avatar
+ 6
What is a string? A string is a sequence of characters. You need to know what a "sequence" is and what a "character" is to understand the above statement. -A sequence is a particular order in which things follow. So "123456" and "ABCDEF" are sequences. -A character is a unit of information that roughly corresponds to a grapheme, grapheme-like unit, or symbol, such as in an alphabet or syllabary in the written form of a natural language. So "
quot; can be a character or "A" or anything you can input on your keyboard. So now that we know what a sequence is and what a character is, we can combine the two to create a string. "My Nam3 1$_Gavin" - this is a string In programming languages, you must put your string in between double or single quotes for it to be a string. That's it. https://www.sololearn.com/discuss/452538/?ref=app
8th Sep 2017, 7:31 PM
Ghauth Christians
Ghauth Christians - avatar
+ 2
A "string" in JavaScript is a primitive data-type. it's enclosed in either single 'quote' or double "quote".
8th Sep 2017, 7:31 PM
Elvis Ngboki
Elvis Ngboki - avatar