#9 🛑 String in JS | Ways to create string | String interpolation | - adarshtiwari1998/JavaScript-Crash-Course-Project-v1 GitHub Wiki

*****************************Tutorial Start 🔥 ********************************

1. What is String?

The string object is used to represent and manipulate a sequence of characters.

string aik type hai yaa aik object hai jiski help se hum log seqence of character wale jitni bhi values ho sakti hai, jitna data ho sakta hai, usko store kar sakte hai.

**Example: **

  • "a"
  • "abc"
  • "abcdefgh"

<!-- 1.JAVASCRIPT CODE USED HERE, please check repo code -->

2. How to creating a string

Method are:

  • Using Literal

<!-- 1.JAVASCRIPT CODE USED HERE, please check repo code -->

  • using String() constructor

<!-- 1.JAVASCRIPT CODE USED HERE, please check repo code -->

3. Different ways of creating string like '', "", ``

<!-- 1.JAVASCRIPT CODE USED HERE, please check repo code -->

4. String Interpolation Example

<!-- 1.JAVASCRIPT CODE USED HERE, please check repo code -->

*****************************Tutorial End 🚀 ********************************