#9 π String in JS | Ways to create string | String interpolation |
*****************************Tutorial Start π₯ ********************************
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 -->
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 -->
<!-- 1.JAVASCRIPT CODE USED HERE, please check repo code -->
<!-- 1.JAVASCRIPT CODE USED HERE, please check repo code -->
*****************************Tutorial End π ********************************
FOllow me on Github