---
title: "Discussion on \"JavaScript - How to Remove the first characters of a string\" | Hashnode"
description: "Discussion on \"JavaScript - How to Remove the first characters of a string\". In this tutorial, we are going to learn about how to remove the first n characters of a string in JavaScript.\nConsider, we have the following string:\nconst car = \"loremipsum\";\nNow, we want to remove the first 2 characters vol from the above string.\nR..."
url: "https://hashnode.com/posts/javascript-how-to-remove-the-first-characters-of-a-string-1/5fb31853595a24599b2f2eca"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JavaScript - How to Remove the first characters of a string](https://deepakchandra076.hashnode.dev/javascript-how-to-remove-the-first-characters-of-a-string-1?utm_source=hashnode&utm_medium=feed)

In this tutorial, we are going to learn about how to remove the first n characters of a string in JavaScript. Consider, we have the following string: const car = "loremipsum"; Now, we want to remove the first 2 characters vol from the above string. R...

Nov 17, 2020 · 2 min read · deepakchandra076.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[deepak chandra](https://hashnode.com/@deepakchandra076)

@deepakchandra076

  
[View profile](https://hashnode.com/@deepakchandra076)

Right-brained techie passionate about coding, product, UX, and fun adventures with my family.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
