String

Last updated

What is String?

String is a primitive type that holds a sequence of characters. String in Javascript is written within a pair of single quotation marks '', double quotation marks "", or backticks `` (template literals). All types of quotes can be used to contain a string but only if the starting quote is the same as the end quote.

Free resources to learn String

More in stage 3: Data Types

String: common questions

Can I learn String in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain String in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this String tutorial for beginners?

It is lesson 22 of 124 in the free JavaScript roadmap, in stage 3, Data Types. If you are new to JavaScript, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me