---
title: "Discussion on \"Remove last character from javascript string\" | Hashnode"
description: "Discussion on \"Remove last character from javascript string\". There are two methods given below by which you can remove last character from javascript string.\nslice():- This method is used to cut a part of the string and return that part as a new string. This method takes two parameters as the start position an..."
url: "https://hashnode.com/posts/remove-last-character-from-javascript-string/63dbd656ba030eb43836471c"
---

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

Discussion

# [Remove last character from javascript string](https://pbphpsolutions.hashnode.dev/remove-last-character-from-javascript-string?utm_source=hashnode&utm_medium=feed)

There are two methods given below by which you can remove last character from javascript string. slice():- This method is used to cut a part of the string and return that part as a new string. This method takes two parameters as the start position an...

Feb 2, 2023 · 3 min read · pbphpsolutions.hashnode.dev  
Read the article

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

## Written by

[Biplab Sinha](https://hashnode.com/@biplab339)

@biplab339 · Guwahati, Assam (India)

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

Providing web development solutions from core to advanced

I am a Laravel developer and well-versed in PHP language along with other technologies such as Javascript, Bootstrap, CSS, Node JS, etc. I am here to share my knowledge and experiences with everyone.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
